January, 2016: -Added support for nameserver per-zone -Added check for chosen zone existing in config.txt but not at nameserver
key foobar.internal. {
algorithm hmac-md5;
secret "qgVjEPYFwHfrywGNmRjOmeENk36rf94nxlEi0rlLlFo=";
};
....... snip .....
zone "foobar.internal" {
type master;
file "db.foobar";
allow-update {key foobar.internal;};
};
....... snip .....
$TTL 86400 ; 1 day
foobar.internal. IN SOA woodyint.unixpeople.internal. hostmaster.unixpeople.com. (
2006114532 ; serial
28800 ; refresh (8 hours)
14400 ; retry (4 hours)
3600000 ; expire (5 weeks 6 days 16 hours)
3600 ; minimum (1 hour)
)
NS woodyint.unixpeople.internal.
woody2 A 192.168.37.12
$ ping woody2.foobar.internal PING woody2.foobar.internal (192.168.37.12) 56(84) bytes of data. 64 bytes from woody2.unixpeople.internal (192.168.37.12): icmp_seq=1 ttl=64 time=0.304 ms 64 bytes from woody2.unixpeople.internal (192.168.37.12): icmp_seq=2 ttl=64 time=0.339 ms
foobar.internal foobar.internal. qgVjEPYFwHfrywGNmRjOmeENk36rf94nxlEi0rlLlFo= 192.168.37.12
A complete config.txt might look like this:
unixpeople.internal unixpeople.internal. qgVjEPYFwHfrywGNmRjOmeENk36rf94nxlEi0rlLlFo= 192.168.37.12 unixpeople.com dynupdates. qgVjEPYFwHfrywGNmRjOmeENk36rf94nxlEi0rlLlFo= 107.21.97.57 37.168.192.in-addr.arpa unixpeople.internal. qgVjEPYFwHfrywGNmRjOmeENk36rf94nxlEi0rlLlFo= 192.168.37.12 dnsbl.unixpeople.com dynupdates. qgVjEPYFwHfrywGNmRjOmeENk36rf94nxlEi0rlLlFo= 107.21.97.57 impala59.com dynupdates. qgVjEPYFwHfrywGNmRjOmeENk36rf94nxlEi0rlLlFo= 107.21.97.57 vksellshomes.com 107.21.97.57 smilefamilyportraits.com dynupdates. qgVjEPYFwHfrywGNmRjOmeENk36rf94nxlEi0rlLlFo= 107.21.97.57 objectmatrix.com dynupdates. qgVjEPYFwHfrywGNmRjOmeENk36rf94nxlEi0rlLlFo= 107.21.97.57 tvmites.com dynupdates. qgVjEPYFwHfrywGNmRjOmeENk36rf94nxlEi0rlLlFo= 107.21.97.57 sathseva.org dynupdates. qgVjEPYFwHfrywGNmRjOmeENk36rf94nxlEi0rlLlFo= 107.21.97.57 foobar.internal foobar.internal. qgVjEPYFwHfrywGNmRjOmeENk36rf94nxlEi0rlLlFo= 192.168.37.12 emcscientific.com dynupdates. qgVjEPYFwHfrywGNmRjOmeENk36rf94nxlEi0rlLlFo= 107.21.97.57
Suggestions