On 11/07/2005 04:33 AM, Chadley Wilson wrote:
Greetings,
My DNS doesn't get updated immediatly when DHCP assigns an IP to a sysem,
Is this possible or is it a manual process?
What I would favour is that the dhcp assigns an IP to a system, and then updates dns with a system name linked to the IP. When the system is diconnected the lease is freed and the dns entry removed.
I have tried the two options in the dhcpd.conf file that I know of but niether is working...
they are ddns-update-style interim ddns-update-style ad-hoc
Thanks
I would suggest using dhclient as your dhcp client program -- it is trivial to set up, and the config file is very straightforward. As far as I can tell, dhclient is the preferred client program to use if you have only one NIC being configured by dhcp -- which should be suitable for the vast majority of users (so it is a mystery to me why the default SuSE installation uses dhcpcd instead). The default dhclient configuration in SuSE is to request (and require) a DNS update with each dhcp request. I've used dhclient "out of the box" since getting my high-speed connection, and have not had to change one line of the config file. If your service provider does not honour a DNS update request in dhcp queries (you will have to check with them, of course), then you will have to enter them manually in your /etc/resolv.conf file, and configure your system not to update that file.