On Tue, Sep 10, 2019 at 03:48:34PM +1000, AP wrote: > Hi, > > Using NM 1.20.0 with Debian Buster (though this also happens with 1.14.6) and > am > trying to get the global-dns section to work so that I don't have to type it > in > for each and every connection I create. > > Alas, it's proving to be a pain and not doing what I want (ie working at > all). The > config, as NM sees it is as follows:
Hi, you need a section for the default domain, as: [global-dns-domain-*] servers=1.1.1.1 As explained on IRC, the global DNS configuration must be completely defined and requires a name server for the default domain. Currently it is not possible to define partial (for example, only the search domain without servers) global configuration that is integrated at run time with the information from active connections (i.e. name servers). If the global configuration is defined, the rest is ignored. A mechanism to merge them seems a useful feature that we could implement. Beniamino > --- 8< --- > Read config: /etc/NetworkManager/NetworkManager.conf (lib: > no-mac-addr-change.conf) (etc: dns-resolv.conf, min-systemd.conf) > CONFIG: config-data[0x55b3773e11b0]: 5 groups > CONFIG: > CONFIG: [main] > CONFIG: plugins=ifupdown,keyfile > CONFIG: dns=default > CONFIG: rc-manager=symlink > CONFIG: systemd-resolved=false > CONFIG: > CONFIG: [global-dns] > CONFIG: searches=moo.cow > CONFIG: options=edns0 > CONFIG: > CONFIG: [ifupdown] > CONFIG: managed=false > CONFIG: > CONFIG: [logging] > CONFIG: level=TRACE > CONFIG: domains=ALL > CONFIG: > CONFIG: [device-mac-addr-change-wifi] > CONFIG: > match-device=driver:rtl8723bs,driver:rtl8189es,driver:r8188eu,driver:8188eu,driver:eagle_sdio,driver:wl > CONFIG: wifi.scan-rand-mac-address=no > config: state: successfully read state file > "/var/lib/NetworkManager/NetworkManager.state"
signature.asc
Description: PGP signature
_______________________________________________ networkmanager-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/networkmanager-list
