[Pdns-users] hosts file
m.watts at eris.qinetiq.com
Mon Dec 11 09:54:20 UTC 2006
> I have a large amount of domains which I do not want my network to have
> access to, they are contained in a text file. (I am prepared to perform
> regular expressions on this if needed to get it into a format pdns can
> How can I combine this list with powerdns, such that any lookups for
> these hosts will return 0.0.0.0 for instance, instead of the true IP.
> This is to protect my users from adult content.
> pdns is running on xubuntu with 2 nics, 0.7 internet, 2.7 local
> (protected) LAN.
> Thank you.
You could try adding them to an /etc/hosts file and using
"export-etc-hosts=on" in the pdns-recursor config file.
Mark Watts BSc RHCE MBCS
Senior Systems Engineer
QinetiQ Trusted Information Management
Trusted Solutions and Services Group
GPG Public Key ID: 455420ED
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the Pdns-users