LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Dynamic Hostnames (https://www.linuxquestions.org/questions/linux-networking-3/dynamic-hostnames-79496/)

jnoller 08-06-2003 08:39 AM

Dynamic Hostnames
 
It's been awhile since I have tried to work with BIND and DHCP on linux, and I am trying to figure out how to get dynamic hostnames to work properly.

Basically, I have a DHCP server, and a DNS server. I want a machine to be able to set its own hostname, and get a DHCP address, but I need other machines to be able to ping that new machine by name, so, for example:

machine A's hostname is foo, FQDN is foo.bar.com.

Foo comes online, gets address 10.1.142.123
Foo set's it's own hostname to foo.

Now, the problem I run into is that I can access the machine via IP, but attempting pings via the name, either by "ping foo" or "ping foo.bar.com" fails with an unknown host error. I need to figure out how to enable it so that the DNS server/DHCP server some how allow the "dynamic" hostname.

Thanks


All times are GMT -5. The time now is 04:34 AM.