Red Hat Bugzilla – Bug 401781
DHCP_HOSTNAME not honored
Last modified: 2007-12-04 19:26:41 EST
Description of problem:
It is very important that machines can give their name to the DHCP server and
still get the DNS information from the server. This worked until some time in
f8-devel cycle. It still doesn't work.
Now, you can get Network Manager to give its name to the DHCP server ONLY if you
tell it not to get DNS information. This is broken. I do not need fixed IP
addresses for machines, but I do rely on fixed DNS names.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Give machine optional DNS name
2. Select obtain DNS information
3. Watch it not work.
4. Uncheck select DNS information, /etc/resolve.conf is not ubdated, but DNS
name is sent to DHCP server
This should have worked with obtain DNS information checked.
I am not sure if there used to be a check box for using the DNS name and one for
obtaining information. But it worked through test1 or test2 of f8 I think.
Are you editing this via system-config-network?
Also, does setting the hostname in /etc/dhclient.conf work for you?
*** This bug has been marked as a duplicate of 385211 ***
send host-name "aragorn"; # temporary RHL ifup addition
So, it appears to be in there. Yes, I am using system-config-network.
Sorry, I caught myself. I was using tab completion. Yes, as dhclient.conf it
works. As dhclient-ethx.conf it doesn't work.
yeah, dhclient-ethX.conf won't work because the default dhclient config file is
/etc/dhclient.conf, unless it's told otherwise. If there's a need I could
change NetworkManager to attach the interface name to the config file if people
need to differentiate between interfaces.
No, I am not interested in that. The dhclient-ethx.conf was created by an old
version of NetworkManager. I do not care how, as long as it works properly.