0

I'm running DD-WRT on my router and I need to block certain websites and all their potential suffixes, is that possible or would I have to list them all out individually?

What I have is this

address=/blockedomain.com/127.0.0.1

And then subsequent entries for all the main suffixes

Cheers.

  • Did you mean prefixes? If so, that one line should be enough. – Dusan Bajic Oct 15 '13 at 9:10
  • No, suffix. As in .com .org .co.uk etc.. – regularjoe Oct 15 '13 at 10:12
0

You would need regex matching for domains to accomplish that, and out of the box DNSMasq doesn't support it. It seems there is unofficial patch though (dunno if applicable to DD-WRT).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.