For When You Can't Have The Real Thing
[ start | index | login ]
start > Linux > Windows DDNS Update from Windows DHCP

Windows DDNS Update from Windows DHCP

Created by dave. Last edited by dave, 5 years and 156 days ago. Viewed 5,086 times. #3
[diff] [history] [edit] [rdf]
labels
attachments

Problem

You have a Windows DHCP server and a Windows DNS server. (You poor bastard.) Windows clients obtain a lease correctly and enter their names in the DNS zone correctly. Linux DHCP clients get a lease, but don't update their DNS names at all.

RedHat Family Solution

In /etc/sysconfig/network/ifcfg-eth? add the line:

DHCP_HOSTNAME=shortname
where shortname is the non-qualified name of your linux system.

Do a service network restart and you are done.

(>>Source)

Fedora 27+

You probably need to mess around with the Network Manager:

# nmcli con modify "System ens192" ipv4.dhcp-hostname "wiki2"

It's also a good idea to set your system's hostname to the same thing.

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt