You are not logged in.

#1 2021-08-15 22:20:10

cepsbow
Member
Registered: 2021-08-15
Posts: 6

[Solved?] DNS Issues with Networkd/Resolved/IWD on FRESH INSTALL

Using only these network tools along with base. I cannot search and locate certain websites such as Paypal, Github, Steam(steampowered.com) and many others. The larger network sites all seem fine and functional, although external links to DNS's other than recognized ones will throw a 404. Here are the outputs of some my configuation:

#ip a

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp3s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 0c:9d:92:a6:63:28 brd ff:ff:ff:ff:ff:ff
4: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 34:e1:2d:71:2f:aa brd ff:ff:ff:ff:ff:ff
    inet6 2600:1700:f2d0:dac0:36e1:2dff:fe71:2faa/64 scope global dynamic mngtmpaddr 
       valid_lft 3328sec preferred_lft 3328sec
    inet6 fe80::36e1:2dff:fe71:2faa/64 scope link 
       valid_lft forever preferred_lft forever

#resolvectl status

Global
           Protocols: +LLMNR +mDNS -DNSOverTLS DNSSEC=no/unsupported
    resolv.conf mode: stub
  Current DNS Server: 2606:4700:4700::1111
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 (enp3s0)
Current Scopes: none
     Protocols: -DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported

Link 4 (wlan0)
Current Scopes: LLMNR/IPv6 mDNS/IPv6
     Protocols: +DefaultRoute +LLMNR +mDNS -DNSOverTLS DNSSEC=no/unsupported

#systemd-resolved with service debug

[cepsbow@GetXMurked ~]$ sudo SYSTEMD_LOG_LEVEL=debug /lib/systemd/systemd-resolved
Positive Trust Anchors:
. IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d
Negative trust anchors: home.arpa 10.in-addr.arpa 16.172.in-addr.arpa 17.172.in-addr.arpa 18.172.in-addr.arpa 19.172.in-addr.arpa 20.172.in-addr.arpa 21.172.in-addr.arpa 22.172.in-addr.arpa 23.172.in-addr.arpa 24.172.in-addr.arpa 25.172.in-addr.arpa 26.172.in-addr.arpa 27.172.in-addr.arpa 28.172.in-addr.arpa 29.172.in-addr.arpa 30.172.in-addr.arpa 31.172.in-addr.arpa 168.192.in-addr.arpa d.f.ip6.arpa corp home internal intranet lan local private test
Failed to open configuration file '/etc/systemd/resolved.conf': No such file or directory
Using system hostname 'GetXMurked'.
New scope on link *, protocol dns, family *
Found new link 4/wlan0
Found new link 2/enp3s0
Found new link 1/lo
New scope on link wlan0, protocol llmnr, family AF_INET6
Firing regular transaction 27295 for <GetXMurked IN ANY> scope llmnr on wlan0/INET6 (validate=yes).
Delaying llmnr transaction 27295 for 94830us.
Bus bus-api-resolve: changing state UNSET → OPENING
sd-bus: starting bus bus-api-resolve by connecting to /run/dbus/system_bus_socket...
Bus bus-api-resolve: changing state OPENING → AUTHENTICATING
Registering bus object implementation for path=/org/freedesktop/resolve1 iface=org.freedesktop.resolve1.Manager
Registering bus object implementation for path=/org/freedesktop/resolve1/link iface=org.freedesktop.resolve1.Link
Registering bus object implementation for path=/org/freedesktop/resolve1/dnssd iface=org.freedesktop.resolve1.DnssdService
Registering bus object implementation for path=/org/freedesktop/LogControl1 iface=org.freedesktop.LogControl1
Creating stub listener using UDP/TCP.
Bus bus-api-resolve: changing state AUTHENTICATING → HELLO
Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=Hello cookie=1 reply_cookie=0 signature=n/a error-name=n/a error-message=n/a
Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=RequestName cookie=2 reply_cookie=0 signature=su error-name=n/a error-message=n/a
Sent message type=method_call sender=n/a destination=org.freedesktop.DBus path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=AddMatch cookie=3 reply_cookie=0 signature=s error-name=n/a error-message=n/a
Got message type=method_return sender=org.freedesktop.DBus destination=:1.63 path=n/a interface=n/a member=n/a cookie=1 reply_cookie=1 signature=s error-name=n/a error-message=n/a
Bus bus-api-resolve: changing state HELLO → RUNNING
Got message type=signal sender=org.freedesktop.DBus.Local destination=n/a path=/org/freedesktop/DBus/Local interface=org.freedesktop.DBus.Local member=Connected cookie=4294967295 reply_cookie=0 signature=n/a error-name=n/a error-message=n/a
Got message type=signal sender=org.freedesktop.DBus destination=:1.63 path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=NameAcquired cookie=2 reply_cookie=0 signature=s error-name=n/a error-message=n/a
Got message type=signal sender=org.freedesktop.DBus destination=:1.63 path=/org/freedesktop/DBus interface=org.freedesktop.DBus member=NameAcquired cookie=3 reply_cookie=0 signature=s error-name=n/a error-message=n/a
Got message type=method_return sender=org.freedesktop.DBus destination=:1.63 path=n/a interface=n/a member=n/a cookie=4 reply_cookie=2 signature=u error-name=n/a error-message=n/a
Successfully acquired requested service name.
Got message type=method_return sender=org.freedesktop.DBus destination=:1.63 path=n/a interface=n/a member=n/a cookie=5 reply_cookie=3 signature=n/a error-name=n/a error-message=n/a
Match type='signal',sender='org.freedesktop.login1',path='/org/freedesktop/login1',interface='org.freedesktop.login1.Manager',member='PrepareForSleep' successfully installed.
Initial jitter phase for transaction 27295 elapsed.
Retrying transaction 27295.
Firing regular transaction 27295 for <GetXMurked IN ANY> scope llmnr on wlan0/INET6 (validate=yes).
Sending query packet with id 27295 on interface 4/AF_INET6 of size 28.
Received llmnr UDP packet of size 28, ifindex=4, ttl=255, fragsize=0
Timeout reached on transaction 27295.
Retrying transaction 27295.
Firing regular transaction 27295 for <GetXMurked IN ANY> scope llmnr on wlan0/INET6 (validate=yes).
Sending query packet with id 27295 on interface 4/AF_INET6 of size 28.
Received llmnr UDP packet of size 28, ifindex=4, ttl=255, fragsize=0
Timeout reached on transaction 27295.
Retrying transaction 27295.
Firing regular transaction 27295 for <GetXMurked IN ANY> scope llmnr on wlan0/INET6 (validate=yes).
Sending query packet with id 27295 on interface 4/AF_INET6 of size 28.
Received llmnr UDP packet of size 28, ifindex=4, ttl=255, fragsize=0
Timeout reached on transaction 27295.
Retrying transaction 27295.
Regular transaction 27295 for <GetXMurked IN ANY> on scope llmnr on wlan0/INET6 now complete with <not-found> from none (unsigned; non-confidential).
Record GetXMurked IN AAAA fe80::36e1:2dff:fe71:2faa successfully probed.
Record GetXMurked IN AAAA 2600:1700:f2d0:dac0:36e1:2dff:fe71:2faa successfully probed.
Freeing transaction 27295.
Received dns UDP packet of size 44, ifindex=0, ttl=64, fragsize=0
Got DNS stub UDP query packet for id 39865
Looking up RR for gist.github.com IN AAAA.
Switching to fallback DNS server 1.1.1.1.
Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/resolve1 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=4 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
Cache miss for gist.github.com IN AAAA
Firing regular transaction 49532 for <gist.github.com IN AAAA> scope dns on */* (validate=yes).
Using feature level UDP+EDNS0 for transaction 49532.
Using DNS server 1.1.1.1 for transaction 49532.
Switching to fallback DNS server 9.9.9.10.
Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/resolve1 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=5 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
Cache miss for gist.github.com IN AAAA
Firing regular transaction 49532 for <gist.github.com IN AAAA> scope dns on */* (validate=yes).
Using feature level UDP+EDNS0 for transaction 49532.
Using DNS server 9.9.9.10 for transaction 49532.
Switching to fallback DNS server 8.8.8.8.
Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/resolve1 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=6 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
Cache miss for gist.github.com IN AAAA
Firing regular transaction 49532 for <gist.github.com IN AAAA> scope dns on */* (validate=yes).
Using feature level UDP+EDNS0 for transaction 49532.
Using DNS server 8.8.8.8 for transaction 49532.
Switching to fallback DNS server 2606:4700:4700::1111.
Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/resolve1 interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=7 reply_cookie=0 signature=sa{sv}as error-name=n/a error-message=n/a
Cache miss for gist.github.com IN AAAA
Firing regular transaction 49532 for <gist.github.com IN AAAA> scope dns on */* (validate=yes).
Using feature level UDP+EDNS0 for transaction 49532.
Using DNS server 2606:4700:4700::1111 for transaction 49532.
Announcing packet size 512 in egress EDNS(0) packet.
Emitting UDP, link MTU is 1500, socket MTU is 1500, minimal MTU is 60
Sending query packet with id 49532 of size 44.
Processing query...
Received dns UDP packet of size 142, ifindex=4, ttl=0, fragsize=0
Processing incoming packet of size 142 on transaction 49532 (rcode=SUCCESS).
Verified we get a response at feature level UDP+EDNS0 from DNS server 2606:4700:4700::1111.
Added positive unauthenticated non-confidential cache entry for gist.github.com IN CNAME 851s on wlan0/INET6/2606:4700:4700::1111
Regular transaction 49532 for <gist.github.com IN AAAA> on scope dns on */* now complete with <success> from network (unsigned; non-confidential).
Following CNAME/DNAME gist.github.com → github.com.
Cache miss for github.com IN AAAA
Firing regular transaction 56401 for <github.com IN AAAA> scope dns on */* (validate=yes).
Using feature level UDP+EDNS0 for transaction 56401.
Using DNS server 2606:4700:4700::1111 for transaction 56401.
Announcing packet size 512 in egress EDNS(0) packet.
Emitting UDP, link MTU is 1500, socket MTU is 1500, minimal MTU is 60
Sending query packet with id 56401 of size 39.
Freeing transaction 49532.
Received dns UDP packet of size 123, ifindex=4, ttl=0, fragsize=0
Processing incoming packet of size 123 on transaction 56401 (rcode=SUCCESS).
Added NODATA cache entry for github.com IN AAAA 140s
Regular transaction 56401 for <github.com IN AAAA> on scope dns on */* now complete with <success> from network (unsigned; non-confidential).
Sending response packet with id 39865 on interface 1/AF_INET of size 142.
Freeing transaction 56401.
varlink: New incoming connection.
varlink: Connections of user 1000: 0 (of 576 max)
varlink-19: Setting state idle-server
varlink-19: New incoming message: {"method":"io.systemd.Resolve.ResolveHostname","parameters":{"name":"gist.github.com","family":10,"flags":0}}
varlink-19: Changing state idle-server → processing-method
idn2_lookup_u8: gist.github.com → gist.github.com
Looking up RR for gist.github.com IN AAAA.
Positive cache hit for gist.github.com IN AAAA
Regular transaction 63311 for <gist.github.com IN AAAA> on scope dns on */* now complete with <success> from cache (unsigned; non-confidential).
Freeing transaction 63311.
Following CNAME/DNAME gist.github.com → github.com.
NODATA cache hit for github.com IN AAAA
Regular transaction 200 for <github.com IN AAAA> on scope dns on */* now complete with <success> from cache (unsigned; non-confidential).
Freeing transaction 200.
varlink-19: Sending message: {"error":"io.systemd.Resolve.NoSuchResourceRecord","parameters":{}}
varlink-19: Changing state processing-method → processed-method
varlink-19: Changing state processed-method → idle-server
varlink-19: Got POLLHUP from socket.
varlink-19: Changing state idle-server → pending-disconnect
varlink-19: Changing state pending-disconnect → processing-disconnect
varlink-19: Changing state processing-disconnect → disconnected
Received dns UDP packet of size 44, ifindex=0, ttl=64, fragsize=0
Got DNS stub UDP query packet for id 46377
Looking up RR for gist.github.com IN AAAA.
Positive cache hit for gist.github.com IN AAAA
Regular transaction 36447 for <gist.github.com IN AAAA> on scope dns on */* now complete with <success> from cache (unsigned; non-confidential).
Freeing transaction 36447.
Following CNAME/DNAME gist.github.com → github.com.
NODATA cache hit for github.com IN AAAA
Regular transaction 5896 for <github.com IN AAAA> on scope dns on */* now complete with <success> from cache (unsigned; non-confidential).
Freeing transaction 5896.
Sending response packet with id 46377 on interface 1/AF_INET of size 142.
Processing query...
varlink: New incoming connection.
varlink: Connections of user 1000: 0 (of 576 max)
varlink-19: Setting state idle-server
varlink-19: New incoming message: {"method":"io.systemd.Resolve.ResolveHostname","parameters":{"name":"gist.github.com","family":10,"flags":0}}
varlink-19: Changing state idle-server → processing-method
idn2_lookup_u8: gist.github.com → gist.github.com
Looking up RR for gist.github.com IN AAAA.
Positive cache hit for gist.github.com IN AAAA
Regular transaction 7460 for <gist.github.com IN AAAA> on scope dns on */* now complete with <success> from cache (unsigned; non-confidential).
Freeing transaction 7460.
Following CNAME/DNAME gist.github.com → github.com.
NODATA cache hit for github.com IN AAAA
Regular transaction 6744 for <github.com IN AAAA> on scope dns on */* now complete with <success> from cache (unsigned; non-confidential).
Freeing transaction 6744.
varlink-19: Sending message: {"error":"io.systemd.Resolve.NoSuchResourceRecord","parameters":{}}
varlink-19: Changing state processing-method → processed-method
varlink-19: Changing state processed-method → idle-server
varlink-19: Got POLLHUP from socket.
varlink-19: Changing state idle-server → pending-disconnect
varlink-19: Changing state pending-disconnect → processing-disconnect
varlink-19: Changing state processing-disconnect → disconnected
Received dns UDP packet of size 44, ifindex=0, ttl=64, fragsize=0
Got DNS stub UDP query packet for id 19307
Looking up RR for gist.github.com IN AAAA.
Positive cache hit for gist.github.com IN AAAA
Regular transaction 36154 for <gist.github.com IN AAAA> on scope dns on */* now complete with <success> from cache (unsigned; non-confidential).
Freeing transaction 36154.
Following CNAME/DNAME gist.github.com → github.com.
NODATA cache hit for github.com IN AAAA
Regular transaction 22846 for <github.com IN AAAA> on scope dns on */* now complete with <success> from cache (unsigned; non-confidential).
Freeing transaction 22846.
Sending response packet with id 19307 on interface 1/AF_INET of size 142.
Processing query...
varlink: New incoming connection.
varlink: Connections of user 1000: 0 (of 576 max)
varlink-19: Setting state idle-server
varlink-19: New incoming message: {"method":"io.systemd.Resolve.ResolveHostname","parameters":{"name":"gist.github.com","family":10,"flags":0}}
varlink-19: Changing state idle-server → processing-method
idn2_lookup_u8: gist.github.com → gist.github.com
Looking up RR for gist.github.com IN AAAA.
Positive cache hit for gist.github.com IN AAAA
Regular transaction 28348 for <gist.github.com IN AAAA> on scope dns on */* now complete with <success> from cache (unsigned; non-confidential).
Freeing transaction 28348.
Following CNAME/DNAME gist.github.com → github.com.
NODATA cache hit for github.com IN AAAA
Regular transaction 61728 for <github.com IN AAAA> on scope dns on */* now complete with <success> from cache (unsigned; non-confidential).
Freeing transaction 61728.
varlink-19: Sending message: {"error":"io.systemd.Resolve.NoSuchResourceRecord","parameters":{}}
varlink-19: Changing state processing-method → processed-method
varlink-19: Changing state processed-method → idle-server
varlink-19: Got POLLHUP from socket.
varlink-19: Changing state idle-server → pending-disconnect
varlink-19: Changing state pending-disconnect → processing-disconnect
varlink-19: Changing state processing-disconnect → disconnected
Received dns UDP packet of size 39, ifindex=0, ttl=64, fragsize=0
Got DNS stub UDP query packet for id 8576
Looking up RR for paypal.com IN AAAA.
Cache miss for paypal.com IN AAAA
Firing regular transaction 3917 for <paypal.com IN AAAA> scope dns on */* (validate=yes).
Using feature level UDP+EDNS0 for transaction 3917.
Using DNS server 2606:4700:4700::1111 for transaction 3917.
Announcing packet size 512 in egress EDNS(0) packet.
Emitting UDP, link MTU is 1500, socket MTU is 1500, minimal MTU is 60
Sending query packet with id 3917 of size 39.
Processing query...
Received dns UDP packet of size 96, ifindex=4, ttl=0, fragsize=0
Processing incoming packet of size 96 on transaction 3917 (rcode=SUCCESS).
Added NODATA cache entry for paypal.com IN AAAA 72s
Regular transaction 3917 for <paypal.com IN AAAA> on scope dns on */* now complete with <success> from network (unsigned; non-confidential).
Sending response packet with id 8576 on interface 1/AF_INET of size 96.
Freeing transaction 3917.
Received dns UDP packet of size 39, ifindex=0, ttl=64, fragsize=0
Got DNS stub UDP query packet for id 9004
Looking up RR for paypal.com IN AAAA.
NODATA cache hit for paypal.com IN AAAA
Regular transaction 12452 for <paypal.com IN AAAA> on scope dns on */* now complete with <success> from cache (unsigned; non-confidential).
Freeing transaction 12452.
Sending response packet with id 9004 on interface 1/AF_INET of size 96.
Processing query...
varlink: New incoming connection.
varlink: Connections of user 1000: 0 (of 576 max)
varlink-19: Setting state idle-server
varlink-19: New incoming message: {"method":"io.systemd.Resolve.ResolveHostname","parameters":{"name":"paypal.com","family":10,"flags":0}}
varlink-19: Changing state idle-server → processing-method
idn2_lookup_u8: paypal.com → paypal.com
Looking up RR for paypal.com IN AAAA.
NODATA cache hit for paypal.com IN AAAA
Regular transaction 24677 for <paypal.com IN AAAA> on scope dns on */* now complete with <success> from cache (unsigned; non-confidential).
Freeing transaction 24677.
varlink-19: Sending message: {"error":"io.systemd.Resolve.NoSuchResourceRecord","parameters":{}}
varlink-19: Changing state processing-method → processed-method
varlink-19: Changing state processed-method → idle-server
varlink-19: Got POLLHUP from socket.
varlink-19: Changing state idle-server → pending-disconnect
varlink-19: Changing state pending-disconnect → processing-disconnect
varlink-19: Changing state processing-disconnect → disconnected
Received dns UDP packet of size 39, ifindex=0, ttl=64, fragsize=0
Got DNS stub UDP query packet for id 36066
Looking up RR for paypal.com IN AAAA.
NODATA cache hit for paypal.com IN AAAA
Regular transaction 11191 for <paypal.com IN AAAA> on scope dns on */* now complete with <success> from cache (unsigned; non-confidential).
Freeing transaction 11191.
Sending response packet with id 36066 on interface 1/AF_INET of size 96.
Processing query...
Received dns UDP packet of size 39, ifindex=0, ttl=64, fragsize=0
Got DNS stub UDP query packet for id 40974
Looking up RR for paypal.com IN AAAA.
NODATA cache hit for paypal.com IN AAAA
Regular transaction 39689 for <paypal.com IN AAAA> on scope dns on */* now complete with <success> from cache (unsigned; non-confidential).
Freeing transaction 39689.
Sending response packet with id 40974 on interface 1/AF_INET of size 96.
Processing query...
varlink: New incoming connection.
varlink: Connections of user 1000: 0 (of 576 max)
varlink-19: Setting state idle-server
varlink-19: New incoming message: {"method":"io.systemd.Resolve.ResolveHostname","parameters":{"name":"paypal.com","family":10,"flags":0}}
varlink-19: Changing state idle-server → processing-method
idn2_lookup_u8: paypal.com → paypal.com
Looking up RR for paypal.com IN AAAA.
NODATA cache hit for paypal.com IN AAAA
Regular transaction 19308 for <paypal.com IN AAAA> on scope dns on */* now complete with <success> from cache (unsigned; non-confidential).
Freeing transaction 19308.
varlink-19: Sending message: {"error":"io.systemd.Resolve.NoSuchResourceRecord","parameters":{}}
varlink-19: Changing state processing-method → processed-method
varlink-19: Changing state processed-method → idle-server
varlink-19: Got POLLHUP from socket.
varlink-19: Changing state idle-server → pending-disconnect
varlink-19: Changing state pending-disconnect → processing-disconnect
varlink-19: Changing state processing-disconnect → disconnected
Received dns UDP packet of size 39, ifindex=0, ttl=64, fragsize=0
Got DNS stub UDP query packet for id 2391
Looking up RR for paypal.com IN AAAA.
NODATA cache hit for paypal.com IN AAAA
Regular transaction 25612 for <paypal.com IN AAAA> on scope dns on */* now complete with <success> from cache (unsigned; non-confidential).
Freeing transaction 25612.
Sending response packet with id 2391 on interface 1/AF_INET of size 96.
Processing query...
Received dns UDP packet of size 39, ifindex=0, ttl=64, fragsize=0
Got DNS stub UDP query packet for id 28222
Looking up RR for paypal.com IN AAAA.
NODATA cache hit for paypal.com IN AAAA
Regular transaction 23770 for <paypal.com IN AAAA> on scope dns on */* now complete with <success> from cache (unsigned; non-confidential).
Freeing transaction 23770.
Sending response packet with id 28222 on interface 1/AF_INET of size 96.
Processing query...
varlink: New incoming connection.
varlink: Connections of user 1000: 0 (of 576 max)
varlink-19: Setting state idle-server
varlink-19: New incoming message: {"method":"io.systemd.Resolve.ResolveHostname","parameters":{"name":"paypal.com","family":10,"flags":0}}
varlink-19: Changing state idle-server → processing-method
idn2_lookup_u8: paypal.com → paypal.com
Looking up RR for paypal.com IN AAAA.
NODATA cache hit for paypal.com IN AAAA
Regular transaction 43164 for <paypal.com IN AAAA> on scope dns on */* now complete with <success> from cache (unsigned; non-confidential).
Freeing transaction 43164.
varlink-19: Sending message: {"error":"io.systemd.Resolve.NoSuchResourceRecord","parameters":{}}
varlink-19: Changing state processing-method → processed-method
varlink-19: Changing state processed-method → idle-server
varlink-19: Got POLLHUP from socket.
varlink-19: Changing state idle-server → pending-disconnect
varlink-19: Changing state pending-disconnect → processing-disconnect
varlink-19: Changing state processing-disconnect → disconnected

I'll add more logs soon but does anyone have any tips?

Last edited by cepsbow (2021-08-16 00:11:50)

Offline

#2 2021-08-15 22:28:03

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,356

Re: [Solved?] DNS Issues with Networkd/Resolved/IWD on FRESH INSTALL

You don't have an IPv4 address. How did you set that up?

Offline

#3 2021-08-15 22:35:56

cepsbow
Member
Registered: 2021-08-15
Posts: 6

Re: [Solved?] DNS Issues with Networkd/Resolved/IWD on FRESH INSTALL

I used iwctl to initiate the connection.

#iwctl
[iwd]station wlan0 scan
[iwd]station wlan0 connect ATT294
[passphrase]***********
[iwd]

Also the ISP gateway defaults to IPV6 and has a mixed mode SSID, which is a huge pita for rpi's....


#resolvectl query paypal.com

paypal.com: 64.4.250.36                        -- link: wlan0
            64.4.250.37                        -- link: wlan0

-- Information acquired via protocol DNS in 34.6ms.
-- Data is authenticated: no; Data was acquired via local or encrypted transport: no
-- Data from: network

#resolvectl query github.com

github.com: 140.82.114.3                       -- link: wlan0

-- Information acquired via protocol DNS in 28.9ms.
-- Data is authenticated: no; Data was acquired via local or encrypted transport: no
-- Data from: network

#resolvectl query steampowered.com

steampowered.com: 184.30.94.124                -- link: wlan0

-- Information acquired via protocol DNS in 39.8ms.
-- Data is authenticated: no; Data was acquired via local or encrypted transport: no
-- Data from: network

hmm

Last edited by cepsbow (2021-08-15 22:42:48)

Offline

#4 2021-08-15 22:42:22

seth
Member
Registered: 2012-09-03
Posts: 60,939

Online

#5 2021-08-15 22:44:20

cepsbow
Member
Registered: 2021-08-15
Posts: 6

Re: [Solved?] DNS Issues with Networkd/Resolved/IWD on FRESH INSTALL

I've tried both of these along with a static /etc/resolv.conf, none of it works. In fact it regresses my connection to nothing. It won't connect with those set to anything, whatsoever.

Offline

#6 2021-08-15 22:47:58

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,356

Re: [Solved?] DNS Issues with Networkd/Resolved/IWD on FRESH INSTALL

You're stuck on DNS when your issue is not DNS. You don't have an IP address. See seth's first link.

Offline

#7 2021-08-15 22:54:29

cepsbow
Member
Registered: 2021-08-15
Posts: 6

Re: [Solved?] DNS Issues with Networkd/Resolved/IWD on FRESH INSTALL

Scimmia wrote:

You're stuck on DNS when your issue is not DNS. You don't have an IP address. See seth's first link.

#nano /etc/iwd/main.conf

GNU nano 5.8                   /etc/iwd/main.conf                             
[Network]
NameResolvingService=systemd
EnableNetworkConfiguration=true

Regardless of it's presence, it does NOT pull an IPv4 address whatsoever.

#ip a

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp3s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 0c:9d:92:a6:63:28 brd ff:ff:ff:ff:ff:ff
4: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 34:e1:2d:71:2f:aa brd ff:ff:ff:ff:ff:ff
    inet6 2600:1700:f2d0:dac0:36e1:2dff:fe71:2faa/64 scope global dynamic mngtmpaddr 
       valid_lft 3585sec preferred_lft 3585sec
    inet6 fe80::36e1:2dff:fe71:2faa/64 scope link 
       valid_lft forever preferred_lft forever

I simply continued moving on because I can utilize pacman, firefox works on half of all websites. It may be an IPv4 issues but there are no methods I've seen to make networkd pull one.

Offline

#8 2021-08-15 23:00:47

seth
Member
Registered: 2012-09-03
Posts: 60,939

Re: [Solved?] DNS Issues with Networkd/Resolved/IWD on FRESH INSTALL

What happens if you
1. pass "ipv6.disable=1" to the kernel
2. set "EnableNetworkConfiguration=false" and after iwd establishes a carrier run "sudo dhcpcd -d -B"?

Online

#9 2021-08-15 23:20:14

cepsbow
Member
Registered: 2021-08-15
Posts: 6

Re: [Solved?] DNS Issues with Networkd/Resolved/IWD on FRESH INSTALL

seth wrote:

What happens if you
1. pass "ipv6.disable=1" to the kernel
2. set "EnableNetworkConfiguration=false" and after iwd establishes a carrier run "sudo dhcpcd -d -B"?

The issues go away

#ip a

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
2: enp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether 0c:9d:92:a6:63:28 brd ff:ff:ff:ff:ff:ff
4: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 34:e1:2d:71:2f:aa brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.67/24 brd 192.168.1.255 scope global dynamic noprefixroute wlan0
       valid_lft 86388sec preferred_lft 75588sec

#nslookup github.com

Server:		127.0.0.53
Address:	127.0.0.53#53

Non-authoritative answer:
Name:	github.com
Address: 140.82.113.4

#ping github.com


ping: socket: Address family not supported by protocol
PING github.com (140.82.113.4) 56(84) bytes of data.
64 bytes from lb-140-82-113-4-iad.github.com (140.82.113.4): icmp_seq=1 ttl=47 time=56.7 ms
64 bytes from lb-140-82-113-4-iad.github.com (140.82.113.4): icmp_seq=2 ttl=47 time=54.4 ms
64 bytes from lb-140-82-113-4-iad.github.com (140.82.113.4): icmp_seq=3 ttl=47 time=57.1 ms

So resolved is out of the question at the moment then? I'm guessing networkd needs to be setup to utilize dhcpcd?


EDIT:

Or just

sudo systemctl enable dhcpcd@wlan0.service
sudo systemctl start dhcpcd@wlan0.service

?

It's basically where I'm at with this. Guessing I shoulda just stuck with netctl... This has been a worthless use of my time.


TL;DR

Screw systemd. Stick with the old tools, even if you have to peel all the new crap off of it.

Last edited by cepsbow (2021-08-15 23:44:12)

Offline

#10 2021-08-16 05:48:54

seth
Member
Registered: 2012-09-03
Posts: 60,939

Re: [Solved?] DNS Issues with Networkd/Resolved/IWD on FRESH INSTALL

You can try to disable https://wiki.archlinux.org/title/Iwd#IPv6_support
If you want to got w/ dhcpcd, see https://wiki.archlinux.org/title/Dhcpcd#Hooks - you can probably adapt the hook to use iwd likewise.

There're maaaaaany ways to configure your connection, if you don't require a very dynamic setup, netctl is the better choice than pure dhcpcd.

Online

#11 2021-08-16 21:59:29

cepsbow
Member
Registered: 2021-08-15
Posts: 6

Re: [Solved?] DNS Issues with Networkd/Resolved/IWD on FRESH INSTALL

seth wrote:

You can try to disable https://wiki.archlinux.org/title/Iwd#IPv6_support
If you want to got w/ dhcpcd, see https://wiki.archlinux.org/title/Dhcpcd#Hooks - you can probably adapt the hook to use iwd likewise.

There're maaaaaany ways to configure your connection, if you don't require a very dynamic setup, netctl is the better choice than pure dhcpcd.


On a chonky laptop(read:FX504GE), you don't need a dynamic setup until you need a dynamic setup. I may keep a copy of netctl dialog etc kicking around just in case I go out and about with it. Phone tethering has usually escaped me of this anyway, but I'm probably just gonna edit the systemd unit for dhcpcd@wlan0 and add an After=(); target for networkd & resolved. Maybe even just tie it to lightdm, who knows. I'm gonna finish the config tonight and get back to development, this hiatus has been unexpected and taxing.

EDIT:

Actually just changing

Before=network.target

to

After=network.target

Works out of the box, good to go with ipv6 too.

#ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp3s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 0c:9d:92:a6:63:28 brd ff:ff:ff:ff:ff:ff
4: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 34:e1:2d:71:2f:aa brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.67/24 brd 192.168.1.255 scope global dynamic noprefixroute wlan0
       valid_lft 86270sec preferred_lft 75470sec
    inet6 2600:1700:f2d0:dac0:f7a9:4fec:12ea:6c5d/64 scope global dynamic mngtmpaddr noprefixroute 
       valid_lft 3466sec preferred_lft 3466sec
    inet6 fe80::53f8:979f:4a62:8735/64 scope link 
       valid_lft forever preferred_lft forever

Thanks for the help guys

Last edited by cepsbow (2021-08-16 22:07:25)

Offline

Board footer

Powered by FluxBB