Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Debian DNS whitelist?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Debian DNS whitelist?

NeoonNeoon Community Contributor, Veteran
edited February 2014 in Help

Hi,

Does someone know a software which support a whitelist so i can surf only to one site ?

Thanks

Comments

  • DNSmasq proxy can do that, it should be just two lines of config:

    # return 0.0.0.0 for any domain
    address=/#/0.0.0.0
    # except allowed.example.com and *.allowed.example.com, forward those to a usual DNS server (specified in resolv.conf, or you can put its IP instead of the '#' character)
    server=/allowed.example.com/#
    

    Note that entries in /etc/hosts are also effective and will be returned unmodified. If you need to disable them as well, you can force them to return 0.0.0.0 by another address=/example.net/0.0.0.0 config line.

  • NeoonNeoon Community Contributor, Veteran
    edited February 2014

    Working thanks!

  • Please, can you post your dnsmasq.conf? Please please please! :-) I've tried but has not worked for me...

  • NeoonNeoon Community Contributor, Veteran

    No idea, already wiped my raspberry pi.

Sign In or Register to comment.