[Bug 1773193] Re: DNS search not updated after connecting to VPN

Dan Streetman 1773193 at bugs.launchpad.net
Wed Jun 30 21:53:36 UTC 2021


please reopen if this is still an issue

** Changed in: systemd (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1773193

Title:
  DNS search not updated after connecting to VPN

Status in systemd package in Ubuntu:
  Invalid

Bug description:
  I'm using 17.10. Network manager, and openvpn also via network manager
  and nm applet.

  I'm connecting to my local network at the office (with standard access
  to the internet). It uses DHCP. So far, so good.

  When I connect to a VPN, my /etc/resolv.conf is updated to the
  following:

      nameserver 127.0.0.53
      search mycompanysdomain.org myvpnprovider.org

  From that point on, I can no longer access anything in
  *.mycompanysdomain.org.

  If I change the second line in /etc/resolv.conf to read:

      search myvpnprovider.org

  Then everything seems to resolve.

  Questions:

  - Should that change be applied to /etc/resolv.conf automatically by
  some tool?

  - Is it possible to change anything in the openvpn configuration or my
  normal network configuration so that the change to /etc/resolv.conf is
  applied automatically when I connect?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1773193/+subscriptions



More information about the foundations-bugs mailing list