The situation is as follows. There is a Windows 2003 server running the Microsoft DHCP server giving ip addresses to DHCP clients on the network. One of these clients is a Windows XP Pro box (WXPB). Another computer on the same subnet is a linux (RH7.3) box using
for the DHCP client (RH7.3 has only one NIC, non-wireless, ethernet, device name eth0).
When I bring up a command window on WXBP and use
on the ipaddress revealed from using the
command, I get a hostname back that corresponds to something expected. From the same window, if I issue an
on the ip address given to RH7.3 (revealed from using the
command), I get an error saying that the DNS server can not find that ip address, the reason being a non-existent domain.
WXPB has an ipaddress of 220.127.116.11
RH7.3 has an ipaddress of 18.104.22.168
From WXPB, I can access RH7.3 using ssh/telnet/ftp etc using RH7.3's ipaddress. However, I can not reach it using the hostname given in
, which is of course overwritten each time dhcpcd gets new information.
According to the network administrator, the Windows machines update their own DNS entries. That is, they request an ipaddress from the DHCP machine, then apply their hostname to it and send it off to the DNS server. I checked on some Microsoft documents and this appears to be some kind of option that can be sent to the MS DHCP server (option 81). In my reading of man pages for dhcpcd and so forth, I have not found any way to do this.
Does anyone know how to get linux DHCP clients to work with the Windows DHCP server and then magically register it's own hostname with the DNS server?
I'm completely lost with this and I can't get samba to work with out the entry in DNS.
Thanks for the help.