You are not logged in.
For some reason, basically all applications on my computer lost Internet access due to domain resolution problems. I can ping IP addresses, but can't ping domain names, so none of the applications on my computer that rely on DNS work.
I'm using systemd-resolved:
$ systemctl | grep bind
$ systemctl | grep dns
$ systemctl | grep dhc
$ systemctl | grep resolv
systemd-resolved.service loaded active running Network Name Resolution
I'm using the DNS method for configuring resolved.
$ cat /etc/resolv.conf
nameserver 127.0.0.53
options edns0 trust-ad
search readcted
Resolvectl looks good:
$ resolvectl status
Global
Protocols: +LLMNR +mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: stub
Current DNS Server: 172.16.42.1
DNS Servers: 172.16.42.1
Fallback DNS Servers: 1.1.1.1 1.0.0.1
DNS Domain: redacted
Link 2 (enp0s10)
Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6
Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: 172.16.42.1
DNS Servers: 172.16.42.1
But, using it to query DNS does nothing.
$ resolvectl query www.google.com
{{...time passes...}
^C
But, manually pointing at my DNS server works fine.
$ drill @172.16.42.1 www.google.com
...
;; ANSWER SECTION:
www.google.com. 106 IN A 142.251.33.100
Here's my Resolved startup script
$ cat /etc/systemd/resolved.conf
[Resolve]
DNS=172.16.42.1
FallbackDNS=1.1.1.1 1.0.0.1
#FallbackDNS=1.1.1.1 9.9.9.10 8.8.8.8 2606:4700:4700::1111 2620:fe::10 2001:4860:4860::8888
Domains=redacted
#LLMNR=yes
#MulticastDNS=yes
#DNSSEC=allow-downgrade
#DNSOverTLS=no
#Cache=yes
#DNSStubListener=yes
#ReadEtcHosts=yes
I'm not sure what I need to do to get DNS resolution working on my system. I've gone through the wiki to make sure I've don't everything correctly, but as far as I can tell, everything looks good. Can anyone help?
Last edited by lyntux (2021-08-09 22:25:37)
Offline
I'm using systemd-resolved
I'm not sure what I need to do to get DNS resolution working on my system.
Not using resolved (for now), https://bbs.archlinux.org/viewtopic.php?id=268123
Offline
Changed to DNSMASQ and everything started working as expected. Thanks!
Offline