Networking Forums

Networking Forums > Computer Networking > Linux Networking > RedHat WS dhclient and Windows DNS

Reply
Thread Tools Display Modes

RedHat WS dhclient and Windows DNS

 
 
chud
Guest
Posts: n/a

 
      05-06-2005, 04:08 AM
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?


 
Reply With Quote
 
 
 
 
Postmaster
Guest
Posts: n/a

 
      05-06-2005, 12:17 PM

"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


 
Reply With Quote
 
Frank Sweetser
Guest
Posts: n/a

 
      05-06-2005, 12:46 PM
chud <(E-Mail Removed)> wrote:
> 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


Sounds like your windows DNS server is running as part of active directory. If
this is the case, then the DNS record will be created not as a result of
obtaining an IP address from the DHCP server, but instead as a result of
joining the domain.

--
Frank Sweetser fs at wpi.edu | For every problem, there is a solution that
WPI Network Engineer | is simple, elegant, and wrong. - HL Mencken
GPG fingerprint = 6174 1257 129E 0D21 D8D4 E8A3 8E39 29E3 E2E8 8CEC
 
Reply With Quote
 
chud
Guest
Posts: n/a

 
      05-07-2005, 01:13 PM
On Fri, 06 May 2005 12:17:49 +0000, Postmaster wrote:

>
> /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


nsupdate worked.
Who would have thought it would work with a Windows server. I always
thought it was only meant to work with bind.

Thanks to both posters who replied.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ctrl-C in Windows VNC viewer, Redhat VNC server sph042@nc.rr.com Linux Networking 0 04-26-2005 02:05 PM
Browsing a Windows Network from RedHat Enterprise WS Jim Charier Linux Networking 0 11-13-2003 05:55 PM
can't print to a windows printer from Redhat 9 Jin Yang Linux Networking 0 09-25-2003 07:15 AM
Redhat and network printer w/windows xp xyzzy Linux Networking 0 08-13-2003 04:36 AM
dns update from dhcp server ok for windows clients, not ok for linux (dhclient) clients Tom Van Overbeke Linux Networking 3 08-07-2003 03:24 PM



1 2 3 4 5 6 7 8 9 10 11