You are not logged in.

#1 2017-06-01 15:00:54

whiterabbit
Member
Registered: 2011-01-30
Posts: 11

[SOLVED] NetworkManager (1.8.0-1) ignores dns-search

Hello !

For the context : I run my own DNS resolver, and I use the domain "lan" for all my machines on the network.
To avoid typing .lan each time, I use the "dns-search" parameter in NetworkManager config (stored in /etc/NetworkManager/system-connections).

Everything worked fine, until 1.8.0-1 ... now NetworkManager ignores the dns-search parameter in the config file :

dns=192.168.0.1;
dns-search=lan;

These settings should lead to this resolv.conf :

# Generated by NetworkManager
search lan
nameserver 192.168.0.1

but instead, I got this :

# Generated by NetworkManager
nameserver 192.168.0.1

I can edit the config via nmcli, but the changes have no effect, even if I restart the service or do a manual down/up of the connection via nmcli.

For me, that seems to be a bug, but maybe I miss something ?

Last edited by whiterabbit (2017-06-15 14:59:33)

Offline

#2 2017-06-01 21:15:24

whiterabbit
Member
Registered: 2011-01-30
Posts: 11

Re: [SOLVED] NetworkManager (1.8.0-1) ignores dns-search

Well, didn't see it before, but it seems that I made a duplicate ... sorry

https://bbs.archlinux.org/viewtopic.php?id=225667
https://bbs.archlinux.org/viewtopic.php?id=226094

Offline

#3 2017-06-15 14:56:36

whiterabbit
Member
Registered: 2011-01-30
Posts: 11

Re: [SOLVED] NetworkManager (1.8.0-1) ignores dns-search

I finally got the answer, thanks to bagar11 and Jan de Groot :
https://bbs.archlinux.org/viewtopic.php … 6#p1718106
https://bugs.archlinux.org/task/54455

The new version of NetworkManager validates the dns-search domain against the Public Suffix List, that means that you can no longer use a dummy domain (and a dummy TLD) for dns-search.

Offline

Board footer

Powered by FluxBB