How do I go about blocking a website with RouterOS?

So, I have a RB951 and am wondering where to begin on how to block websites ? (IE: Facebook) .

On v6.36rc there’s the option to add domains in the address list.

Those domains will resolve automatically to IPs which will added be as dynamic entries on the same address list.
They follow the TTL of the domain so if FB changes its IPs, mikrotik will follow.

So you could simply add ‘facebook.com’ on the address list, and use that in a simple firewall rule to drop any connections destined to the IPs that facebook.com resolves to.

I’m using RouterOS v6.34.6

You can block website from layer 7 or easy method
In add firewall filter rule
Chain forward, in advanced write in content facebook, action drop, apply
Any one cant access facebook
Regards

Layer-7 is overkill - too much load.

now you can add domain name to address-list and use that address list to block facebook, or at least to reduce number of connections that your layer-7 will have to check.

That didn’t seem to work for me.

v6.36rc33 works just fine on my RB3011 & RB850Gx2.

I have quite complicated configurations on both without any problems. So probably you won’t have any problems with it being an rc version.

I suggest you upgrade to the latest RC to take advantage of the new feature I mentioned.
It’s way easier to implement and doesn’t take any resources like L7 filtering.