Howdy, Stranger!

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


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
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.