Re: RedHat WS dhclient and Windows DNS

From: Postmaster (postmaster_at_127.0.0.1)
Date: 05/06/05


Date: Fri, 06 May 2005 12:17:49 GMT


"chud" <chud@whoknowswhat.domain> wrote in message
news:pan.2005.05.06.04.08.27.738539@whoknowswhat.domain...
>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



Relevant Pages

  • Re: Strange PC networking problem
    ... The router address that the computer was ... Was your Windows networking setup to use DHCP ... "Obtain DNS server address automatically" or "Use the following DNS ...
    (comp.sys.mac.advocacy)
  • Re: How can I solve This?
    ... Perhaps you would entertain using the MS DNS server ... and the DHCP client that is built into all recent versions ... Microsoft MVP (Windows Server System: ... > could allow a remote attacker to gain root privileges on ...
    (microsoft.public.windowsxp.security_admin)
  • RedHat WS dhclient and Windows DNS
    ... I have to set up some RedHat WS machines at work in an otherwise Windows ... The RedHat boxes use dhcp to get internet addresses using ... dhclient gets the IP addresses successfully, but the Windows DNS server on ...
    (comp.os.linux.networking)
  • Possible DHCP issue with VPN clients
    ... I'm writing here because I think it's a DHCP issue. ... that's on the Windows 2000 Domain Controller. ... a DNS server, and is the only DC - it's a small office). ... Service Pack 2, and the firewall on her computer is turned off. ...
    (microsoft.public.win2000.active_directory)
  • Re: Strangest problem I have ever had
    ... > than about 100k over the network or internet, ... > something Windows related and not hardware. ... What dns server is resolving ip addresses on your domain? ... Does the dhcp ...
    (microsoft.public.win2000.networking)