Bostjan Muller wrote:
Hi!
I have set up a DHCPD server on my local network and have found out that writing host names in /etc/hosts is really awkward, since dhcpd doesnt assign the same ip every time. I was wondering how to make host resolving work even if the ips and addresses aren't written in /etc/hosts. Specificaly I have an host connected to my dhcp server which is assigned ip 192.168.1.3 and host name of spiritus.neonatus.net. How can I make the server resolv the ip to the hostname (let's say if I do a ping spiritus.neonatus.net (where neonatus.net is my domain name) I would get normal ping reply)?
I think the best way would be to set up a caching DNS server on the DHCP server. Then whenever DHCP gives out an IP, it should update the local DNS. Don't ask me how to do this though, as I haven't found the time to do it myself yet, but as far as I know, that is how you would go about it. Hope that helps, Chris -- __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/