Tuesday 6 May 2003 at 12:27pm, Christopher Mahmood wrote:
* Jerry Feldman (gaf@blu.org) [030506 12:06]:
A subsidiary zone file might be fubar.foo.bar containing just the A record for fubar, and the appropriate serial number/expriation times et. al.
$INCLUDE /path/to/fubar.foo.bar.a.records
You may need to set set $ORIGIN on $INCLUDE as well depending on how the zone is configured, etc.
Right now, fubar.foo.bar is a CNAME for hxx.xx.xx.xx.cablemodem.net.
You mean fubar.foo.bar's cname is hxx.xx.xx.xx.cablemodem.net, right?
In the future, I want to allow those hosts to check their own IP addresses, when they detect a change, upload the new ip address to the server, and a cron script on the server will update the zone file and restart named.
You could also write a shell or perl daemon that monitors the dhcp lease database for changes, that way you don't have to worry about races or maintaining so many clients.
Perhaps the ddt-client package will do for your users hosts what you need. I have the following from my 8.0 install CDs. Perhaps it's also on 8.1 and 8.2: # rpm -qpi /install-cds/CD3/suse/n4/ddt-client-0.5-247.i386.rpm Name : ddt-client Relocations: (not relocateable) Version : 0.5 Vendor: SuSE AG, Nuernberg, Germany Release : 247 Build Date: Tue Mar 26 08:21:04 2002 Install date: (not installed) Build Host: Macintyre.suse.de Group : Productivity/Networking/DNS/Utilities Source RPM: ddt-0.5-247.src.rpm Size : 125319 License: GPL Packager : feedback@suse.de URL : http://www.ddts.org/ Summary : DDT (Dynamic DNS Tools) Client Description : This is a client for DDT (Dynamic DNS Tools) servers. It can be used to update an DNS entry of a host, that in fact has a dynamic IP address, in a secure fashion. The communication between clients and server is encrypted and authenticated, and the server uses the dynamic DNS update capabilities of BIND8. Homepage of the project: http://www.ddts.org/ Authors: -------- Remi Lefebvre <remi@ddts.org> Benoit Joly <benoit@ddts.org> Luca Filipozzi <lfilipoz@ddts.org> SuSE series: n Distribution: SuSE Linux 8.0 (i386)