[Bug 1795913] Re: Systemd Resolver works unreliable to local DNS Names

Kelly Black 1795913 at bugs.launchpad.net
Tue Nov 13 20:44:40 UTC 2018


I have a similar issue (dns server running on a DSL router).  The router
assigns hostnames ending in .home

Seems to break resolution for the systemd-resolved as well (only working
sometimes).

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

Title:
  Systemd Resolver works unreliable to local DNS Names

Status in systemd package in Ubuntu:
  Confirmed

Bug description:
  systemd-resolved fails to resolve reliably local DNS names under
  home.example.com. The first call succeeds but all following calls
  fails to resolve the address correctly:

  steve at steve-ThinkPad-T560:~$ systemd-resolve --flush-caches
  steve at steve-ThinkPad-T560:~$ systemd-resolve akolus.home.example.com
  akolus.home.example.com: 192.168.1.5

  -- Information acquired via protocol DNS in 2.7ms.
  -- Data is authenticated: no
  steve at steve-ThinkPad-T560:~$ systemd-resolve akolus.home.example.com
  akolus.home.example.com: resolve call failed: 'akolus.home.example.com' not found

  A call to systemd-resolve --flush-caches get the next resolvement
  working again.

  The syslog show following entries

  Oct  3 16:44:41 steve-ThinkPad-T560 systemd-resolved[1092]: Flushed all caches.
  Oct  3 16:44:41 steve-ThinkPad-T560 systemd-resolved[1092]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.

  A dig for the adresses  to all DHCP provided DNS Server works:

  steve at steve-ThinkPad-T560:~$ dig akolus.home.example.com @192.168.1.1

  ; <<>> DiG 9.11.3-1ubuntu1.2-Ubuntu <<>> akolus.home.example.com @192.168.1.1
  ;; global options: +cmd
  ;; Got answer:
  ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61886
  ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

  ;; OPT PSEUDOSECTION:
  ; EDNS: version: 0, flags:; udp: 4096
  ;; QUESTION SECTION:
  ;akolus.home.example.com.	IN	A

  ;; ANSWER SECTION:
  akolus.home.example.com. 0	IN	A	192.168.1.5

  ;; Query time: 0 msec
  ;; SERVER: 192.168.1.1#53(192.168.1.1)
  ;; WHEN: Wed Oct 03 16:46:30 CEST 2018
  ;; MSG SIZE  rcvd: 70

  steve at steve-ThinkPad-T560:~$ dig akolus.home.example.com
  @2a04:4540:4707:a800::1

  ; <<>> DiG 9.11.3-1ubuntu1.2-Ubuntu <<>> akolus.home.example.com @2a04:4540:4707:a800::1
  ;; global options: +cmd
  ;; Got answer:
  ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 24202
  ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

  ;; OPT PSEUDOSECTION:
  ; EDNS: version: 0, flags:; udp: 4096
  ;; QUESTION SECTION:
  ;akolus.home.example.com.	IN	A

  ;; ANSWER SECTION:
  akolus.home.example.com. 0	IN	A	192.168.1.5

  ;; Query time: 0 msec
  ;; SERVER: 2a04:4540:4707:a800::1#53(2a04:4540:4707:a800::1)
  ;; WHEN: Wed Oct 03 16:46:33 CEST 2018
  ;; MSG SIZE  rcvd: 70

  steve at steve-ThinkPad-T560:~$ dig akolus.home.example.com
  @fd9c:9819:4c58::1

  ; <<>> DiG 9.11.3-1ubuntu1.2-Ubuntu <<>> akolus.home.example.com @fd9c:9819:4c58::1
  ;; global options: +cmd
  ;; Got answer:
  ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9783
  ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

  ;; OPT PSEUDOSECTION:
  ; EDNS: version: 0, flags:; udp: 4096
  ;; QUESTION SECTION:
  ;akolus.home.example.com.	IN	A

  ;; ANSWER SECTION:
  akolus.home.example.com. 0	IN	A	192.168.1.5

  ;; Query time: 0 msec
  ;; SERVER: fd9c:9819:4c58::1#53(fd9c:9819:4c58::1)
  ;; WHEN: Wed Oct 03 16:46:38 CEST 2018
  ;; MSG SIZE  rcvd: 70

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: systemd 237-3ubuntu10.3
  ProcVersionSignature: Ubuntu 4.15.0-34.37-generic 4.15.18
  Uname: Linux 4.15.0-34-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.3
  Architecture: amd64
  CurrentDesktop: X-Cinnamon
  Date: Wed Oct  3 15:56:44 2018
  InstallationDate: Installed on 2018-03-05 (212 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180305)
  MachineType: LENOVO 20FH002RGE
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.15.0-34-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=1
  SourcePackage: systemd
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 10/07/2016
  dmi.bios.vendor: LENOVO
  dmi.bios.version: N1KET26W (1.13 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 20FH002RGE
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0J40705 WIN
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: None
  dmi.modalias: dmi:bvnLENOVO:bvrN1KET26W(1.13):bd10/07/2016:svnLENOVO:pn20FH002RGE:pvrThinkPadT560:rvnLENOVO:rn20FH002RGE:rvrSDK0J40705WIN:cvnLENOVO:ct10:cvrNone:
  dmi.product.family: ThinkPad T560
  dmi.product.name: 20FH002RGE
  dmi.product.version: ThinkPad T560
  dmi.sys.vendor: LENOVO

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



More information about the foundations-bugs mailing list