[Bug 1641468] [NEW] systemd-resolve: fallback from resolve causes lookup of local network hosts to fail

Joseph Yasi joe.yasi at gmail.com
Sun Nov 13 23:20:45 UTC 2016


Public bug reported:

After upgrading to Ubuntu 16.10 from 16.04, DNS resolution of hosts on
my local network fails.

The hosts line in /etc/nsswitch.conf is:
hosts:          files mdns4_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] dns mdns4

If I change it to:
hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4

I can resolve hosts on my local network. Appending .local to the
hostname also allows DNS resolution since systemd-resolve returns a
different error for that case.

Ex:
systemd-resolve rt-ac66u
rt-ac66u: resolve call failed: All attempts to contact name servers or networks failed

systemd-resolve rt-ac66u.local
rt-ac66u.local: resolve call failed: No appropriate name servers or networks for name found

"dig rt-ac66u" returns the correct ip.

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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/1641468

Title:
  systemd-resolve: fallback from resolve causes lookup of local network
  hosts to fail

Status in systemd package in Ubuntu:
  New

Bug description:
  After upgrading to Ubuntu 16.10 from 16.04, DNS resolution of hosts on
  my local network fails.

  The hosts line in /etc/nsswitch.conf is:
  hosts:          files mdns4_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] dns mdns4

  If I change it to:
  hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4

  I can resolve hosts on my local network. Appending .local to the
  hostname also allows DNS resolution since systemd-resolve returns a
  different error for that case.

  Ex:
  systemd-resolve rt-ac66u
  rt-ac66u: resolve call failed: All attempts to contact name servers or networks failed

  systemd-resolve rt-ac66u.local
  rt-ac66u.local: resolve call failed: No appropriate name servers or networks for name found

  "dig rt-ac66u" returns the correct ip.

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



More information about the foundations-bugs mailing list