[Bug 1674605] [NEW] resolving short local hostnames doesn't work, fqdn are fine

Timo Aaltonen tjaalton at ubuntu.com
Tue Mar 21 08:25:07 UTC 2017


Public bug reported:

Hi, I have a local "dummy" DNS server on my router which registers DHCP
clients with the hostnames that they have. But resolving these hostnames
doesn't work on zesty unless fqdn is used, otherwise there's a timeout
that says:

root at zesty:# host deckard
;; connection timed out; no servers could be reached

but

root at zesty:/mnt# host deckard.tyrell
deckard.tyrell has address 192.168.1.239

Yesterday I had a resolv.conf with "search tyrell" and shortnames worked
then, but today it's gone again. Besides right after a reboot it fails
like this:

u at zesty:~$ host deckard
Host deckard not found: 2(SERVFAIL)

and after restarting systemd-resolved I get the timeout.

** 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/1674605

Title:
  resolving short local hostnames doesn't work, fqdn are fine

Status in systemd package in Ubuntu:
  New

Bug description:
  Hi, I have a local "dummy" DNS server on my router which registers
  DHCP clients with the hostnames that they have. But resolving these
  hostnames doesn't work on zesty unless fqdn is used, otherwise there's
  a timeout that says:

  root at zesty:# host deckard
  ;; connection timed out; no servers could be reached

  but

  root at zesty:/mnt# host deckard.tyrell
  deckard.tyrell has address 192.168.1.239

  Yesterday I had a resolv.conf with "search tyrell" and shortnames
  worked then, but today it's gone again. Besides right after a reboot
  it fails like this:

  u at zesty:~$ host deckard
  Host deckard not found: 2(SERVFAIL)

  and after restarting systemd-resolved I get the timeout.

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



More information about the foundations-bugs mailing list