"chud" <(E-Mail Removed)> wrote in message
news

(E-Mail Removed) omain...
>I have to set up some RedHat WS machines at work in an otherwise Windows
> network. The RedHat boxes use dhcp to get internet addresses using
> dhclient. I have to set the hostnames manually (a requirement).
>
> dhclient gets the IP addresses successfully, but the Windows DNS server on
> the network never adds the hostnames and addresses of the RedHat boxes to
> it's zone. I tried querying the DNS server with dig, and neither an A
> record lookup or a reverse lookup succeeds. The status is NXDOMAIN. I dont
> control the Windows server.
>
> I looked at the fqdn options in the dhcp-options man page, and they looked
> promising, but it says they are only useful if you can control the server.
>
> How do I get the DNS server to update when I get my lease from the dhcp
> server?
>
>
/etc/dhclient-eth0.conf ..... contains:
send host-name "chud.whoknowswhat.domain";
This works for me :-)
or, I guess you could manually use the nsupdate utility to
update the DNS records. See: man nsupdate
Enjoy,
Postmaster