phpMyBlacklistphpMyBlacklist - Main Zone FileWithin your name server zone files, edit the domain file that you wish to use for your blacklist. The edit should look something like this: $TTL 86400 $ORIGIN yourdomain.com. @ 1D IN SOA @ root ( 2004030606 ; serial 3H ; refresh 15M ; retry 1W ; expiry 1D ) ; minimum 1D IN NS @ ns1 1D IN A 10.0.0.1 ns2 1D IN A 10.0.0.2 1D IN NS ns1.yourdomain.com. 1D IN NS ns2.yourdomain.com. localhost 1D IN A 127.0.0.1 mail 1D IN A 10.0.0.3 yourdomain.com. 1D IN MX 10 mail.yourdomain.com. yourdomain.com. 1D IN A 10.0.0.4 www 1D IN A 10.0.0.4 Of course, this will contain your real IP addresses, not firewall addresses and your real domain name. At the bottom of that zone, you need to add the following lines, naming the zone as desired: bl 1D IN NS ns1.yourdomain.com bl 1D IN NS ns2.yourdomain.comOnce this is done, update your zone serial number using what ever methodology you use for keeping your zone serials up to date. Then exist your editor and reload the zone in bind with: ndc reload yourdomain.com {enter} |
Bind Setup | Top | Blocklist Zone File |
SourceForge Project Page | Project Files page |
Copyright (c) 2004, Thomas A. Halter All rights reserved. |