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

2018-11-14 Thread Sebastien Bacher
Closing that bug since the submitter debugged it and found out it was
not a systemd issue. Those who have other DNS problems please register a
new bug

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

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  Invalid

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@steve-ThinkPad-T560:~$ systemd-resolve --flush-caches
  steve@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@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@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. 0IN  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@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. 0IN  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@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. 0IN  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=
   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:

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

2018-11-13 Thread Kelly Black
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
Touch seeded packages, 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@steve-ThinkPad-T560:~$ systemd-resolve --flush-caches
  steve@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@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@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. 0IN  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@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. 0IN  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@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. 0IN  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=
   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: 

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

2018-11-13 Thread Raul Dias
Any news on this?
I have many hosts with this error.
My server is a plain Bind.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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@steve-ThinkPad-T560:~$ systemd-resolve --flush-caches
  steve@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@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@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. 0IN  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@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. 0IN  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@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. 0IN  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=
   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 

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

2018-10-16 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

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

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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@steve-ThinkPad-T560:~$ systemd-resolve --flush-caches
  steve@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@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@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. 0IN  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@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. 0IN  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@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. 0IN  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=
   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
  

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

2018-10-05 Thread Lairsdragon
After some more digging I found this behavior roots from the DNS
Resolver running on the Router (a Turris Omnia)

Local hosts get a name xxx.home.example.com from fixed DHCP leases and
the knot resolver (kresd) on the Turris responds with the local IPv4
Address for this hosts.

Queries for IPv6 Addresses of xxx.home.example.com get a NXDOMAIN
response from kresd.

systemd-resolved queries for A and  records, the A request gets used
and the subsequent  NXDOMAIN responce leads to a cache flush and a
negative caching for the name.

After tracking down the behavior a workaround in the turris kresd
configuration was proposed (https://github.com/CZ-NIC/turris-os-
packages/commit/42da887f8165dccc374c73c3ed9e024fba7b0c3e). This fixed my
problem.

Thanks, this bug can be closed, the source is not in systemd

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  New

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@steve-ThinkPad-T560:~$ systemd-resolve --flush-caches
  steve@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@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@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. 0IN  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@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. 0IN  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@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. 0IN  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=
   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