After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 493678 - DHCP option "dns-domain-search-list" not evaluated
DHCP option "dns-domain-search-list" not evaluated
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: general
git master
Other All
: Normal major
: ---
Assigned To: Dan Williams
Dan Williams
Depends on:
Blocks:
 
 
Reported: 2007-11-05 10:32 UTC by Sven Anders
Modified: 2009-05-28 23:17 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sven Anders 2007-11-05 10:32:12 UTC
Please describe the problem:
I will receive a domain search list from my DHCP server. I need these domain search list, because it has two entries and the "domain" option can have only one. I had a change to test it under MacOS and there it worked perfectly. Without NetworkManager (using a script the old way) it worked too.

According to RFC 3397 the option for this has the number 119 and the name
"dns-domain-search-list".


Steps to reproduce:
If you want to test it, you have to add the following lines to your DHCP server:

 dns-domain-search-list code 119 = string;
 option dns-domain-search-list "private.anders.local anders.local";
 
(I do not know, why not all offical options are supported by default, but it seems to be normal.)

Then reconnect via DHCP and take a look at the resolv.conf


Actual results:
Only the DHCP "domain" option is evaluated and taken as a search-list.

Expected results:
1. Set the "domain" in the resolv.conf (if it's unambiguous)
2. Set/Add the value(s) of the "dns-domain-search-list" in the resolv.conf as "search" list


Does this happen every time?
Yes

Other information:
See Launchpad Bugs (bugs.launchpad.net) "98618" and "111795" too.
Comment 1 Dan Williams 2008-08-16 04:01:29 UTC
NM does use the "domain-search" option returned by the DHCP server now.
Comment 2 Sven Anders 2008-08-18 07:36:24 UTC
Thanks for the work!
Cannot await it to arrive in my distribution...
Comment 3 Sven Anders 2009-05-28 23:17:42 UTC
It arrived and it works!
Thanks for the work!