Link to home
Start Free TrialLog in
Avatar of glassd
glassd

asked on

Linux client updating Windows DNS dynamically

I have to build a number of Linux workstations (Redhat Enterprise WS3 or WS4) which will get their IP address using a Windows DHCP server (Server 2003 probably). I can't see a problem with this.

I have to then update the Windows DNS server automatically with the details. I have no experience of this.

Does anyone have any straight forward documentation which will help me configure DNS updating of a Windows server from a Redhat client please.

Thanks
David
ASKER CERTIFIED SOLUTION
Avatar of juanfermin
juanfermin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Assume that your network device in Linux called eth0, then
make sure in the file
/etc/sysconfig/network-scripts/ifcfg-eth0
has this line:
-----------
DHCP_HOSTNAME=<hostname>
-----------
Then the DDNS feature on Windows DNS server will add the IP address + hostname of Linux client into the DNS database automatically.

As my experience, RHEL WS3 doesn't have this line in /etc/sysconfig/network-scripts/ifcfg-eth0 but RHEL WS4 should be ok.
Avatar of glassd
glassd

ASKER

juanfermin

Thanks for your comments. However Redhat is the recommended OS for the main apps so I can't change that, and I am also forced to use Windows based DHCP and DNS servers which are supported by another service provider and are out of my control.

wesly

Thanks for the advice on the ifcfg-eth0 file. Our kickstart writes this file for us. Looks like I might have to re-write some of the kickstart process.

Things are on hold for a week or so until I can get hold of a suitable network on which to test. I'll get back to you.

Thanks
David
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Forced accept.

Computer101
EE Admin