[Bug 1713457] Re: DNS search domain not removed from resolv.conf on disconnect

Paul Natsuo Kishimoto account+launchpad at paul.kishimoto.name
Tue Dec 5 01:04:24 UTC 2017


So this has occurred again:

=====

~$ nmcli -f IP4.ADDRESS,IP4.DOMAIN dev show
IP4.ADDRESS[1]:                         10.0.0.156/24
IP4.DOMAIN[1]:                          hsd1.ma.comcast.net


IP4.ADDRESS[1]:                         127.0.0.1/8

~$ cat /run/resolvconf/resolv.conf 
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "systemd-resolve --status" to see details about the actual nameservers.

nameserver 127.0.0.53
search hsd1.ma.comcast.net utopia.net mit.edu

=====

Note the extra entries in the 'search' line of resolv.conf—these were
from networks I was recently connected to.

** Also affects: network-manager via
   https://bugzilla.gnome.org/show_bug.cgi?id=712818
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Network-
manager, which is subscribed to NetworkManager.
https://bugs.launchpad.net/bugs/1713457

Title:
  DNS search domain not removed from resolv.conf on disconnect

To manage notifications about this bug go to:
https://bugs.launchpad.net/network-manager/+bug/1713457/+subscriptions



More information about the Ubuntu-reviews mailing list