Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#69963 - [systemd] Stub resolver cannot resolve host
Attached to Project:
Arch Linux
Opened by fsdsfd (BCD889) - Friday, 12 March 2021, 22:53 GMT
Last edited by Christian Hesse (eworm) - Monday, 15 March 2021, 06:57 GMT
Opened by fsdsfd (BCD889) - Friday, 12 March 2021, 22:53 GMT
Last edited by Christian Hesse (eworm) - Monday, 15 March 2021, 06:57 GMT
|
DetailsDescription: After upgrade systemd to 247.4-1 pacman and other apps can't resolve hosts, dns resolver works fine only with firefox
systemd 247.4-1 /etc/systemd/resolved.conf.d/resolved.conf [Resolve] DNS=1.1.1.1 1.0.0.1 FallbackDNS= DNSSEC=true DNSOverTLS=yes /etc/systemd/network/eth0.network [Match] Name=enp3s0 [Network] DHCP=ipv4 /usr/share/zoneinfo/Europe/Rome -> /etc/localtime /run/systemd/resolve/stub-resolv.conf -> /etc/resolv.conf |
This task depends upon
Closed by Christian Hesse (eworm)
Monday, 15 March 2021, 06:57 GMT
Reason for closing: Fixed
Additional comments about closing: systemd 247.4-2
Monday, 15 March 2021, 06:57 GMT
Reason for closing: Fixed
Additional comments about closing: systemd 247.4-2
https://www.freedesktop.org/software/systemd/man/systemd-resolved.service.html
https://wiki.archlinux.org/index.php/Systemd-resolved#DNS
https://bugs.archlinux.org/task/68981
https://github.com/systemd/systemd/issues/18917
Although they seem somewhat different. My problems only appeared on .4 and I do not have DNSSEC or DNSoverTLS enabled so they might fit better with this bug report.
@Vito does your firefox have DoH enabled? I suspect that's why it was able to resolve domains, bypassing systemd-resolved completely.
Tests performed:
Behind openwrt + dnsmasq caching -> systemd-resolved fails on certain domains - some works, others not. Weird.
Shunted and using hotspot on android -> systemd-resolved got back will all domains (same as prev check).
Doesn't make any difference DNS= and FallbackDNS= modifications at resolved.conf.
/etc/resolv.conf point to stub (/etc/resolv.conf -> /var/run/systemd/resolve/stub-resolv.conf)
Not related with NetworkManager, systemd-networkd, wifi, ethernet.
Because has got the same behavior on two different machines (one is attached with wifi + networmanager, whilst other runs with systemd-networkd + cable).
> https://www.freedesktop.org/software/systemd/man/systemd-resolved.service.html
> https://wiki.archlinux.org/index.php/Systemd-resolved#DNS
Since others are having the same issue with a valid configuration, I'm going to assume you just got your notation backwards.
Thanks for the quick fix!