Linux Client to use Dynamic DNS - TechRepublic
General discussion
January 8, 2003 at 04:23 AM
a fuchigami

Linux Client to use Dynamic DNS

by a fuchigami . Updated 23 years, 3 months ago

Hi There,

I’m trying to get a Red Hat 7.3 machine to dynamically register itself in a DNS server. I’m using DHCP to get my IP Address, and the DNS Server is running on a Windows box. I know that the Windows DNS supports dynamic DNS (When the DHCPserver gives out an IP Address, it registers that computer with the DNS).

I get the IP Address for the machine correctly, and I can ping other computers on the network and can resolve thier names properly. Unfortunately, my own name is not registered with the DNS.

Following tips on the various forums, I’ve got the following network configuration setup.

The /etc/sysconfig/network looks like:
NETWORKING=yes
HOSTNAME=rower1
DHCP_HOSTNAME=rower1.testdomain.com

and network config file(/etc/sysconfig/network-scripts/ifcfg-eth0) has the following:
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
DHCP_HOSTNAME=”rower1″

I’ve also tried setting the DHCP_HOSTNAME value to both rower1 and rower1.testdomain.com

Does anyone have any ideas on how to get things working?

Thanks.

Albert.

This discussion is locked

All Comments