Seems this lines of code are responsible: src/dns/nm-dns-systemd-resolved.c:
static void add_domain (GVariantBuilder *domains, const char *domain, gboolean never_default) { /* If this link is never the default (e.g. only used for resources on this * network) add a routing domain. */ g_variant_builder_add (domains, "(sb)", domain, never_default); } So someone actually wanted this behavious. The question is "why"? I definitly want to use my VPN only for resources on that network and yes I want to resolve the internal names of this network using a search domain. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/1684854 Title: The default behaviour for search domains changed from 16.10 to 17.04 Status in network-manager package in Ubuntu: Confirmed Bug description: Since Ubuntu 17.04 uses systemd-resolved for DNS lookups the default behaviour for search domains changed. By default systemd-resolved does not use the domain supplied by DHCP as a search domain. So network-manager should at least have an option to tell systemd- networkd to change it's behaviour. In systemd-networkd the corresponding option is named "UseDomains". To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1684854/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp