Public bug reported:
systemd-resolved will, unter certain circumstances create local only DNS
resolution:
# host google.com
;; connection timed out; no servers could be reached
looking at what is going on behind:
# cat /etc/resolv.conf (linked to /run/resolvconf/resolv.conf)
nameserver 127.0.0.1
nameserver 127.0.0.53
search <search1> <search2> <search3> DOMAINS
# systemd-resolve --status
Global
Protocols: -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: foreign
Current DNS Server: 127.0.0.1
DNS Servers: 127.0.0.1
DNS Domain: DOMAINS <search1> <search2> <search3>
Link 2 (eth0)
Current Scopes: none
Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
DNS Domain: DOMAINS
Link 3 (virbr0)
Current Scopes: none
Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Link 4 (vmnet1)
Current Scopes: none
Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Link 5 (vmnet2)
Current Scopes: none
Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Link 6 (vmnet8)
Current Scopes: none
Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
This is a useless configuration: dnsmasq asks systemd-resolvd, systemd-
resolvd asks dnsmasq. Without ever going to any of the upstream servers.
One of them: systemd-resolvd or dnsmasq shall ask upstream servers. But
non of them does.
ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: systemd 247.1-4ubuntu1
ProcVersionSignature: Ubuntu 5.8.0-36.40+21.04.1-generic 5.8.18
Uname: Linux 5.8.0-36-generic x86_64
ApportVersion: 2.20.11-0ubuntu57
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Mon Feb 15 19:16:05 2021
InstallationDate: Installed on 2014-01-31 (2572 days ago)
InstallationMedia: Ubuntu-Server 13.10 "Saucy Salamander" - Release amd64
(20131016)
MachineType: Hewlett-Packard HP Compaq 6200 Pro MT PC
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-5.8.0-36-generic
root=UUID=de4af024-5d59-4f85-b5ca-11f17f085706 ro rootflags=subvol=@
consoleblank=0 video=DP-1:e,HDMI-1:e
SourcePackage: systemd
UpgradeStatus: Upgraded to hirsute on 2018-11-23 (815 days ago)
dmi.bios.date: 11/10/2011
dmi.bios.release: 2.15
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: J01 v02.15
dmi.board.name: 1497
dmi.board.vendor: Hewlett-Packard
dmi.chassis.type: 6
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias:
dmi:bvnHewlett-Packard:bvrJ01v02.15:bd11/10/2011:br2.15:svnHewlett-Packard:pnHPCompaq6200ProMTPC:pvr:rvnHewlett-Packard:rn1497:rvr:cvnHewlett-Packard:ct6:cvr:
dmi.product.family: 103C_53307F G=D
dmi.product.name: HP Compaq 6200 Pro MT PC
dmi.product.sku: XL504AV
dmi.sys.vendor: Hewlett-Packard
mtime.conffile..etc.systemd.resolved.conf: 2021-02-15T19:09:12.129281
** Affects: systemd (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug hirsute third-party-packages
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1915746
Title:
systemd-resolved configuration does not resolve any hostnames
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1915746/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs