Using bind and ad blocking

Noel Butler noel.butler at ausics.net
Sat Feb 6 02:09:48 UTC 2016


On 06/02/2016 07:28, Olliver Schinagl wrote:

>>> ; BIND db file for ad servers - point all addresses to an invalid IP
>>> $TTL    864000  ; ten days
>>> 
>>> @       IN      SOA     ns0.example.net. hostmaster.example.net. (
>>>                           2008032800       ; serial number YYMMDDNN
>>>                           288000   ; refresh  80 hours
>>>                           72000    ; retry    20 hours
>>>                           8640000  ; expire  100 days
>>>                           864000 ) ; min ttl  10 day
>>>                   NS      ns0.example.net.
>>> 
>>>                   A       0.0.0.0
>>> 
>>> *               IN      A       0.0.0.0



Why point them to an IP at all, just use TTL and  SOA , no A no nothing 
else.

They'll get NXDOMAIN when trying to look it up, problem solved.


-- 
If you have the urge to reply to all rather than reply to list, you best
first read  http://members.ausics.net/qwerty/


More information about the bind-users mailing list