On Wed, Dec 02, 1998 at 12:31:02PM +0000, John Lines wrote: > > Is there any such? It would be nice not having to update the DNS server by > > hand all the time. And using DHCP to assign IP:s automatically could solve > > this if there was a tool for updating the DNS server. > > > > There have been some published patches to the ISC DHCP server (the one which > is in the debian dhcp-beta package) which do this. > > If you are not expert in both DHCP and DNS I would suggest you do not use this > on a production network at present as this is leading edge development work.
I've been using dhcp-beta without problems, but I haven't been upgrading it. Would handing out fixed ip-addresses with DHCP solve your problem? Then you wouldn't need to keep editing the DNS files. I rebuild the DNS files automatically from /etc/hosts on the DNS/DHCP server. I haven't automated the dhcpd.conf creation yet, but MAC addresses are available as comments in the hosts file as soon as I get around to it. Check out the h2n program on the oreilly web site for automated hosts to dns translation. Here's an edited dhcpd.conf file which provides fixed addresses based on the MAC address of the ethernet cards: # global values default-lease-time 86400; max-lease-time 604800; option interface-mtu 1500; option domain-name "sr.alantro.com"; option domain-name-servers 192.168.254.1; option nis-domain "sr.alantro.com"; option nis-servers 192.168.254.1; #option lpr-servers 192.168.254.1; #option ntp-servers 192.168.254.1; # routes to remote locations option static-routes 192.168.1.0 192.168.254.2, 192.168.100.0 192.168.254.3, 192.168.13.0 192.168.254.3; # set default route on clients option routers 192.168.254.1; # specify subnet dhcpd is controlling # range is for dynamic hosts subnet 192.168.254.0 netmask 255.255.255.0 { range 192.168.254.200 192.168.254.254; } # host info # look at client identifier strings instead of hardware addresses? group { use-host-decl-names true; # SAMPLE FIXED ADDRESSES HERE!!!!!!!!!!!!!!!!!!!!!!!!!!!! host bigdog { hardware ethernet 00:60:B0:7A:9A:89; fixed-address 192.168.254.20; } host curly { hardware ethernet 00:10:5A:14:5C:CC; fixed-address 192.168.254.50; } } -- Lee Bradshaw [EMAIL PROTECTED] (preferred) Alantro Communications [EMAIL PROTECTED]