prefer a dual-file db for DDNS
Duane Voth
duanev at interactivesi.com
Mon Mar 13 16:30:59 UTC 2000
How are static IPs added to DNS when running the Dynamic update
dhcpd server? I've been stopping named, editing the (messy) db
files by hand, and restarting named.
If there is a better way please reply.
If there isn't, let me suggest that dynamic db entries be kept in
a file separate from the existing db files. Ex:
# cat db.10.2.3
;BIND DUMP V8
$ORIGIN 2.10.in-addr.arpa.
3 86400 IN NS ourdomain.com. ;Cl=5
86400 IN NS dnshost.ispX.Com. ;Cl=5
86400 IN SOA 3.2.10.in-addr.arpa.
hostmaster.ispX.Com. (
2000011689 10800 3600 604800 86400 ) ;Cl=5
$ORIGIN 3.2.10.in-addr.arpa.
254 86400 IN PTR gateway.ourdomain.com. ;Cl=5
1 86400 IN PTR server1.ourdomain.com. ;Cl=5
2 86400 IN PTR server2.ourdomain.com. ;Cl=5
then in another file:
# cat db.10.2.3-dyn
100 86400 IN PTR mobile1.ourdomain.com. ;Cl=5
101 86400 IN PTR mobile2.ourdomain.com. ;Cl=5
the -dyn file could be loaded immediately after loading the static
config file. This would make re-configuration chores simpler as we
(or config utilities) would only have to modify files that don't
change. (wouldn't even have to take down named to do it either - just
SIGHUP it when finished)
(note: I am only listening to the dhcp-server at isc.org list right now)
duane
More information about the bind-users
mailing list