systemd-resolved fails: Failed to start query: Invalid argument
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
# lsb_release -rd
No LSB modules are available.
Description: Ubuntu 23.10
Release: 23.10
# aptitude show 'systemd-resolved'
Package: systemd-resolved
Version: 253.5-1ubuntu6
State: installed
The system is unable to resolve any DNS names. Whenever a DNS name shall be resolved the following error appears in the journal
Oct 21 15:50:32 my-host.
If one manually tries to resolve a DNS name from the local stub resolver via
dig @127.0.0.53 A www.google.com.
another error message is added to the journal. However, resolving a DNS name from the configured upstream DNS server works perfectly
dig @81.169.163.106 A www.google.com.
Returns a proper response. (Note, 81.169.163.106 is the internal DNS server from my hoster.)
Some more infos
# resolvectl
Global
Protocols: -LLMNR mDNS=resolve -DNSOverTLS DNSSEC=
resolv.conf mode: stub
Current DNS Server: 81.169.163.106
DNS Servers: 81.169.163.106 85.214.7.22
DNS Domain: my-domain.tld
Link 2 (venet0)
Current Scopes: none
Protocols: -DefaultRoute -LLMNR -mDNS -DNSOverTLS DNSSEC=
# cat /etc/systemd/
[Resolve]
DNS=81.169.163.106 85.214.7.22
Domains=
# aptitude search '~i resolv'
i libnss-resolve - nss module to resolve names via systemd-resolved
i A systemd-resolved - systemd DNS resolver
Changed in systemd (Ubuntu): | |
status: | Incomplete → New |
Maybe related to #2040051.