Ask Your Question

Windows DNS not updated for Fedora 25 DHCP client hostname

asked 2017-01-03 14:01:07 -0500

drdec gravatar image

I have DHCP working for my Fedora 25 workstation, it has been successfully joined to the Active Directory domain, the only problem is that the DNS (Windows) is not updated with a record for the Fedora client when it connects to the network using DHCP (also Windows). So I end up using an IP address when I want to connect to the Fedora workstation from another machine.

My /etc/sysconfig/network-scripts/ifcfg-enp0s25 file is as follows:



Everything is as configured by the NetworkManager GUI interfaces except for the DHCP_HOSTNAME which I added in an attempt to fix this issue. It's presence does not make a difference one way or the other.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2017-01-04 12:05:49 -0500

drdec gravatar image

Thanks sideburns, I see how using a static IP would be a workaround to the issue (although the approach I usually take is to configure the DHCP server to give a machine a specific IP, that way all the static IP configurations are kept in one place).

But the workstation is not a server and there is no need to set it up with a static IP - if I had a large number of machines to do this on that would get unwieldy in a hurry.

I guess what I am saying is, I'm not interested in a workaround I'd prefer to get it fixed right for the future and for the good of the fedora project.

edit flag offensive delete link more

answered 2017-01-03 14:23:15 -0500

sideburns gravatar image

Welcome to ask.fedora. I'm not sure if this is a Fedora question or a Windows question, but I do have a suggestion. Set your Fedora box up with a static IP, and add the machine's host name and IP address to the hosts file on your Windows box. Just make sure that the IP isn't one that your router can hand out, and you'll be OK. (As an example, you could set your router to hand out address through and give your Fedora box to avoid clashes.) You can either assign the DNS numbers too, or get them from the router. Hope this helps. And, please let us know in either event, so that others can learn from this.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2017-01-03 14:01:07 -0500

Seen: 353 times

Last updated: Jan 04 '17