I still have this problem. When I disconnect from a VPN, the various resolv files retain a search line and DNS lookup fails for the domain associated with the VPN (in this case, my university). Luckily, this is fairly easy to work around (I no longer reboot to try to fix my network). Did I miss something? Or has the fix been committed, but not yet propagated out into a new systemd package in the repos? The post above seems to indicate that the version 234-2ubuntu12 and above would have the fix. I have 234-2ubuntu12.2 which I presume is newer.
here's output from dpkg-query -s systemd: fanslow@sano:~$ dpkg-query -s systemd Package: systemd Status: install ok installed Priority: important Section: admin Installed-Size: 11704 Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com> Architecture: amd64 Multi-Arch: foreign Version: 234-2ubuntu12.2 Replaces: udev (<< 228-5) Depends: libacl1 (>= 2.2.51-8), libapparmor1 (>= 2.9.0-3+exp2), libaudit1 (>= 1:2.2.1), libblkid1 (>= 2.19.1), libc6 (>= 2.25), libcap2 (>= 1:2.10), libcryptsetup4 (>= 2:1.4.3), libgcrypt20 (>= 1.7.0), libgpg-error0 (>= 1.14), libidn11 (>= 1.13), libip4tc0 (>= 1.6.0+snapshot20161117), libkmod2 (>= 5~), liblz4-1 (>= 0.0~r130), liblzma5 (>= 5.1.1alpha+20120614), libmount1 (>= 2.26.2), libpam0g (>= 0.99.7.1), libseccomp2 (>= 2.3.1), libselinux1 (>= 2.1.9), libsystemd0 (= 234-2ubuntu12.2), util-linux (>= 2.27.1), mount (>= 2.26), adduser, procps Pre-Depends: libc6 (>= 2.8) Recommends: libpam-systemd, dbus Suggests: systemd-container, policykit-1 Breaks: apparmor (<< 2.9.2-1), ifupdown (<< 0.8.5~), laptop-mode-tools (<< 1.68~), systemd-shim (<< 10-3~), udev (<< 228-5) Conffiles: /etc/dhcp/dhclient-enter-hooks.d/resolved 17323c120a8bb9f8453c24b43d900203 /etc/dhcp/dhclient-exit-hooks.d/timesyncd a891f21f45b0648b7082d999bf424591 /etc/pam.d/systemd-user 3d97692a0125712fcfbd7ddf756f7696 /etc/systemd/journald.conf b89a22c219efce8b3700feafc61e0c18 /etc/systemd/logind.conf aeeac805b4bfb7450183ce346999dd38 /etc/systemd/resolved.conf cda783b1a7bc2e01f2268b9df3c71934 /etc/systemd/system.conf adc308320471c75a60e07184cf2ebb05 /etc/systemd/timesyncd.conf 4e1cf2b5f85dff6c1f186135b9f66a85 /etc/systemd/user.conf 675370e2d80a4ad957202e68c1b4aaee Description: system and service manager systemd is a system and service manager for Linux. It provides aggressive parallelization capabilities, uses socket and D-Bus activation for starting services, offers on-demand starting of daemons, keeps track of processes using Linux control groups, maintains mount and automount points and implements an elaborate transactional dependency-based service control logic. . systemd is compatible with SysV and LSB init scripts and can work as a drop-in replacement for sysvinit. . Installing the systemd package will not switch your init system unless you boot with init=/bin/systemd or install systemd-sysv in addition. Homepage: https://www.freedesktop.org/wiki/Software/systemd Original-Maintainer: Debian systemd Maintainers <pkg-systemd-maintain...@lists.alioth.debian.org> -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1717995 Title: extra domains not removed from resolv.conf when VPN disconnects To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1717995/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs