You are not logged in.
[SOLVED] So! The advice here was sound but it didn't fix the issue. After Several attempts banging my head on the all, I realized that it's the router serving garbage cached DNS information. Never use netgear is the moral of the story, I guess.
I only noticed this issue once I got through the install process and tried to start using firefox, but there's something wrong with my DNS.
I can `ping 8.8.8.8`
I can `ping archlinux.org`
I can visit google.com with firefox.
I managed to complete basic installation of Arch without any issue with internet
beyond this, my connectivity to the internet is completely dysfunctional.
most websites take a long time to load partially, or never load at all. pinging some domains stalls out. Trying to ping the same domain (superuser.com, used in the excerpt below from the the systemd-resolved.service journal) tends to hang indefinitely, one attempt stalled for a while yet eventually managed to complete the ping.
using drill and specifying to look up using 8.8.8.8 or 1.1.1.1, I instantly get IPs that ping fine.
networkd and resolved configs are in default state. the only config I've touched is /etc/systemd/network/10-wireless.network
[Match]
Name=wlan0
[Network]
DHCP=yes
`ip link show` gives:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp0s25: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 3c:97:0e:a0:12:95 brd ff:ff:ff:ff:ff:ff
4: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
link/ether 6c:88:14:83:4f:64 brd ff:ff:ff:ff:ff:ff
`resolvectl` gives:
Global
Protocols: +LLMNR +mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: foreign
Fallback DNS Servers: 1.1.1.1 9.9.9.10 8.8.8.8 2606:4700:4700::1111 2620:fe::10
2001:4860:4860::8888
Link 2 (enp0s25)
Current Scopes: none
Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Link 4 (wlan0)
Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6
Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: 192.168.1.1
DNS Servers: 192.168.1.1
and this is a debug-level journal from an attempt to `ping superuser.com`
-- Journal begins at Tue 2021-06-29 21:41:53 PDT, ends at Tue 2021-10-05 19:40:09 PDT. --
Oct 05 19:39:38 b7ackb1rd systemd-resolved[267]: Emitting UDP, link MTU is 1500, socket MTU is 1500, minimal MTU is 40
Oct 05 19:39:38 b7ackb1rd systemd-resolved[267]: Sending query packet with id 44473 of size 42.
Oct 05 19:39:43 b7ackb1rd systemd-resolved[267]: Timeout reached on transaction 44473.
Oct 05 19:39:43 b7ackb1rd systemd-resolved[267]: Retrying transaction 44473, after switching servers.
Oct 05 19:39:43 b7ackb1rd systemd-resolved[267]: Cache miss for superuser.com IN AAAA
Oct 05 19:39:43 b7ackb1rd systemd-resolved[267]: Firing regular transaction 44473 for <superuser.com IN AAAA> scope dns on wlan0/* (validate=yes).
Oct 05 19:39:43 b7ackb1rd systemd-resolved[267]: Using feature level UDP+EDNS0 for transaction 44473.
Oct 05 19:39:43 b7ackb1rd systemd-resolved[267]: Announcing packet size 512 in egress EDNS(0) packet.
Oct 05 19:39:43 b7ackb1rd systemd-resolved[267]: Emitting UDP, link MTU is 1500, socket MTU is 1500, minimal MTU is 40
Oct 05 19:39:43 b7ackb1rd systemd-resolved[267]: Sending query packet with id 44473 of size 42.
Oct 05 19:39:48 b7ackb1rd systemd-resolved[267]: Timeout reached on transaction 44473.
Oct 05 19:39:48 b7ackb1rd systemd-resolved[267]: Retrying transaction 44473, after switching servers.
Oct 05 19:39:48 b7ackb1rd systemd-resolved[267]: Cache miss for superuser.com IN AAAA
Oct 05 19:39:48 b7ackb1rd systemd-resolved[267]: Firing regular transaction 44473 for <superuser.com IN AAAA> scope dns on wlan0/* (validate=yes).
Oct 05 19:39:48 b7ackb1rd systemd-resolved[267]: Using feature level UDP+EDNS0 for transaction 44473.
Oct 05 19:39:48 b7ackb1rd systemd-resolved[267]: Announcing packet size 512 in egress EDNS(0) packet.
Oct 05 19:39:48 b7ackb1rd systemd-resolved[267]: Emitting UDP, link MTU is 1500, socket MTU is 1500, minimal MTU is 40
Oct 05 19:39:48 b7ackb1rd systemd-resolved[267]: Sending query packet with id 44473 of size 42.
Oct 05 19:39:54 b7ackb1rd systemd-resolved[267]: Timeout reached on transaction 44473.
Oct 05 19:39:54 b7ackb1rd systemd-resolved[267]: Retrying transaction 44473, after switching servers.
Oct 05 19:39:54 b7ackb1rd systemd-resolved[267]: Cache miss for superuser.com IN AAAA
Oct 05 19:39:54 b7ackb1rd systemd-resolved[267]: Firing regular transaction 44473 for <superuser.com IN AAAA> scope dns on wlan0/* (validate=yes).
Oct 05 19:39:54 b7ackb1rd systemd-resolved[267]: Using feature level UDP+EDNS0 for transaction 44473.
Oct 05 19:39:54 b7ackb1rd systemd-resolved[267]: Announcing packet size 512 in egress EDNS(0) packet.
Oct 05 19:39:54 b7ackb1rd systemd-resolved[267]: Emitting UDP, link MTU is 1500, socket MTU is 1500, minimal MTU is 40
Oct 05 19:39:54 b7ackb1rd systemd-resolved[267]: Sending query packet with id 44473 of size 42.
Oct 05 19:39:59 b7ackb1rd systemd-resolved[267]: Timeout reached on transaction 44473.
Oct 05 19:39:59 b7ackb1rd systemd-resolved[267]: Retrying transaction 44473, after switching servers.
Oct 05 19:39:59 b7ackb1rd systemd-resolved[267]: Cache miss for superuser.com IN AAAA
Oct 05 19:39:59 b7ackb1rd systemd-resolved[267]: Firing regular transaction 44473 for <superuser.com IN AAAA> scope dns on wlan0/* (validate=yes).
Oct 05 19:39:59 b7ackb1rd systemd-resolved[267]: Using feature level UDP+EDNS0 for transaction 44473.
Oct 05 19:39:59 b7ackb1rd systemd-resolved[267]: Announcing packet size 512 in egress EDNS(0) packet.
Oct 05 19:39:59 b7ackb1rd systemd-resolved[267]: Emitting UDP, link MTU is 1500, socket MTU is 1500, minimal MTU is 40
Oct 05 19:39:59 b7ackb1rd systemd-resolved[267]: Sending query packet with id 44473 of size 42.
Oct 05 19:40:04 b7ackb1rd systemd-resolved[267]: Timeout reached on transaction 44473.
Oct 05 19:40:04 b7ackb1rd systemd-resolved[267]: Retrying transaction 44473, after switching servers.
Oct 05 19:40:04 b7ackb1rd systemd-resolved[267]: Cache miss for superuser.com IN AAAA
Oct 05 19:40:04 b7ackb1rd systemd-resolved[267]: Firing regular transaction 44473 for <superuser.com IN AAAA> scope dns on wlan0/* (validate=yes).
Oct 05 19:40:04 b7ackb1rd systemd-resolved[267]: Using feature level UDP+EDNS0 for transaction 44473.
Oct 05 19:40:04 b7ackb1rd systemd-resolved[267]: Announcing packet size 512 in egress EDNS(0) packet.
Oct 05 19:40:04 b7ackb1rd systemd-resolved[267]: Emitting UDP, link MTU is 1500, socket MTU is 1500, minimal MTU is 40
Oct 05 19:40:04 b7ackb1rd systemd-resolved[267]: Sending query packet with id 44473 of size 42.
Oct 05 19:40:09 b7ackb1rd systemd-resolved[267]: Timeout reached on transaction 44473.
Oct 05 19:40:09 b7ackb1rd systemd-resolved[267]: Retrying transaction 44473, after switching servers.
Oct 05 19:40:09 b7ackb1rd systemd-resolved[267]: Cache miss for superuser.com IN AAAA
Oct 05 19:40:09 b7ackb1rd systemd-resolved[267]: Firing regular transaction 44473 for <superuser.com IN AAAA> scope dns on wlan0/* (validate=yes).
Oct 05 19:40:09 b7ackb1rd systemd-resolved[267]: Using feature level UDP+EDNS0 for transaction 44473.
Oct 05 19:40:09 b7ackb1rd systemd-resolved[267]: Announcing packet size 512 in egress EDNS(0) packet.
Oct 05 19:40:09 b7ackb1rd systemd-resolved[267]: Emitting UDP, link MTU is 1500, socket MTU is 1500, minimal MTU is 40
Oct 05 19:40:09 b7ackb1rd systemd-resolved[267]: Sending query packet with id 44473 of size 42.
not certain what other info would be helpful. let me know what else i can provide!!
Last edited by sczsne (2021-12-26 14:39:06)
Offline
Your DNS is set to 192.168.1.1, which suggests you are using something that your ISP is supplying. Try switching to something sane, like 1.1.1.1 (Cloudflare), 8.8.8.8 (Goofle) or 9.9.9.9 (Quad9), and see if the problem persists.
Sometimes I seem a bit harsh — don’t get offended too easily!
Offline
resolv.conf mode: foreign
I recommend stub mode.
Offline
https://wiki.archlinux.org/title/Systemd-resolved
Configure systemd-resolved in stub mode.
Offline
sczsne wrote:resolv.conf mode: foreign
I recommend stub mode.
https://wiki.archlinux.org/title/Systemd-resolved
Configure systemd-resolved in stub mode.
okay, i've made the symlink and got it acknowledging itself as being in stub mode. The problem is still persisting, however. Judging by my .network file, it _should_ be trying to get DNS info from DHCP, because DHCP = true and the default state of useDNS = true.
BUT!
resolvectl still tells me that the DNS for wlan0 is 192.168.1.1. I don't think i specify this anywhere, so am I right in assuming that this is DHCP? resolved.conf has all the default fallback DNS servers, but they never get defaulted to, so somehow 192.168.1.1 is taking precedence...
adding DNS=8.8.8.8 to my .network file, or in the resolved.conf file didn't fix it, or make resolvectl report having any other DNS servers for that connection other than 192.168.1.1 (this is just me throwing stuff at the wall and hoping it sticks ultimately...)
Offline