I’m on Fedora Silverblue 38 desktop but I’m not very advanced at networking.
This question is primarily about Fedora, though my use of ProtonVPN may have caused the original problem.
I was using ProtonVPN on it, but began to have connection troubles. I could ping to 1.1.1.1 but DNS wasn’t working, so I couldn’t use a URL to get to a webpage. ProtonVPN was acting as my DNS. So I uninstalled protonVPN, but now things are much worse.
In the Settings → Network → IPv4, the method is DHCP, I set DNS to be 1.1.1.1 1.0.0.1 with Automatic turned off to see if that would allow me to start using Cloudflare as my DNS.
I manually set /etc/resolv.conf to contain:
nameserver 1.1.1.1
nameserver 1.0.0.1
Rebooting did not help. I’ve followed the instructions in a number of posts with people having similar problems and they did not resolve anything. These posts include:
https://discussion.fedoraproject.org/t/dns-settings-not-working-in-fedora-31/68076/19
https://askubuntu.com/questions/191226/dnsmasq-failed-to-create-listening-socket-for-port-53-address-already-in-use#1170073
I’m connected via ethernet cable and WiFi is turned off.
At this point, the only thing I can only ping my own machine and my router. I cannot use synthing with my phone which is connected to the same router.
$ ping 1.1.1.1
ping: connect: Network is unreachable
$ ping 192.168.8.1 < my router >
PING 192.168.8.1 (192.168.8.1) 56(84) bytes of data.
64 bytes from 192.168.8.1: icmp_seq=1 ttl=64 time=0.954 ms
...
Other devices connected to this same router via ethernet cable or WiFi have no trouble accessing webpages.
Here are some diagnostics:
$ nmcli con show --active
NAME UUID TYPE DEVICE
pvpn-ipv6leak-protection f0e9dd07-bd7b-4d05-a1e6-1054ff3d7507 dummy ipv6leakintrf0
enp89s0 dd6e80aa-6176-3dd6-9d6d-47d9adef35b5 ethernet enp89s0
lo caf63793-22ec-4cae-bf3c-4e5d16c63788 loopback lo
It looks like protonVPN left something behind here with its ipv6leak protection.
$ nmcli con show enp89s0
connection.id: enp89s0
connection.uuid: dd6e80aa-6176-3dd6-9d6d-47d9adef35b5
connection.stable-id: --
connection.type: 802-3-ethernet
connection.interface-name: enp89s0
connection.autoconnect: yes
connection.autoconnect-priority: -999
connection.autoconnect-retries: -1 (default)
connection.multi-connect: 0 (default)
connection.auth-retries: -1
connection.timestamp: 1690414083
connection.read-only: no
connection.permissions: --
connection.zone: --
connection.master: --
connection.slave-type: --
connection.autoconnect-slaves: -1 (default)
connection.secondaries: --
connection.gateway-ping-timeout: 0
connection.metered: unknown
connection.lldp: default
connection.mdns: -1 (default)
connection.llmnr: -1 (default)
connection.dns-over-tls: -1 (default)
connection.mptcp-flags: 0x0 (default)
connection.wait-device-timeout: -1
connection.wait-activation-delay: -1
802-3-ethernet.port: --
802-3-ethernet.speed: 0
802-3-ethernet.duplex: --
802-3-ethernet.auto-negotiate: no
802-3-ethernet.mac-address: --
802-3-ethernet.cloned-mac-address: --
802-3-ethernet.generate-mac-address-mask:--
802-3-ethernet.mac-address-blacklist: --
802-3-ethernet.mtu: auto
802-3-ethernet.s390-subchannels: --
802-3-ethernet.s390-nettype: --
802-3-ethernet.s390-options: --
802-3-ethernet.wake-on-lan: default
802-3-ethernet.wake-on-lan-password: --
802-3-ethernet.accept-all-mac-addresses:-1 (default)
ipv4.method: auto
ipv4.dns: 1.1.1.1,1.0.0.1
ipv4.dns-search: --
ipv4.dns-options: --
ipv4.dns-priority: 0
ipv4.addresses: --
ipv4.gateway: --
ipv4.routes: --
ipv4.route-metric: -1
ipv4.route-table: 0 (unspec)
ipv4.routing-rules: --
ipv4.replace-local-rule: -1 (default)
ipv4.ignore-auto-routes: yes
ipv4.ignore-auto-dns: yes
ipv4.dhcp-client-id: --
ipv4.dhcp-iaid: --
ipv4.dhcp-timeout: 0 (default)
ipv4.dhcp-send-hostname: yes
ipv4.dhcp-hostname: --
ipv4.dhcp-fqdn: --
ipv4.dhcp-hostname-flags: 0x0 (none)
ipv4.never-default: no
ipv4.may-fail: yes
ipv4.required-timeout: -1 (default)
ipv4.dad-timeout: -1 (default)
ipv4.dhcp-vendor-class-identifier: --
ipv4.link-local: 0 (default)
ipv4.dhcp-reject-servers: --
ipv4.auto-route-ext-gw: -1 (default)
ipv6.method: auto
ipv6.dns: 2606:4700:4700::1111,2606:4700:4700::1001
ipv6.dns-search: --
ipv6.dns-options: --
ipv6.dns-priority: 0
ipv6.addresses: --
ipv6.gateway: --
ipv6.routes: --
ipv6.route-metric: -1
ipv6.route-table: 0 (unspec)
ipv6.routing-rules: --
ipv6.replace-local-rule: -1 (default)
ipv6.ignore-auto-routes: no
ipv6.ignore-auto-dns: yes
ipv6.never-default: no
ipv6.may-fail: yes
ipv6.required-timeout: -1 (default)
ipv6.ip6-privacy: -1 (unknown)
ipv6.addr-gen-mode: eui64
ipv6.ra-timeout: 0 (default)
ipv6.mtu: auto
ipv6.dhcp-duid: --
ipv6.dhcp-iaid: --
ipv6.dhcp-timeout: 0 (default)
ipv6.dhcp-send-hostname: yes
ipv6.dhcp-hostname: --
ipv6.dhcp-hostname-flags: 0x0 (none)
ipv6.auto-route-ext-gw: -1 (default)
ipv6.token: --
proxy.method: none
proxy.browser-only: no
proxy.pac-url: --
proxy.pac-script: --
GENERAL.NAME: enp89s0
GENERAL.UUID: dd6e80aa-6176-3dd6-9d6d-47d9adef35b5
GENERAL.DEVICES: enp89s0
GENERAL.IP-IFACE: enp89s0
GENERAL.STATE: activated
GENERAL.DEFAULT: no
GENERAL.DEFAULT6: no
GENERAL.SPEC-OBJECT: --
GENERAL.VPN: no
GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/ActiveConnection/5
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/Settings/4
GENERAL.ZONE: --
GENERAL.MASTER-PATH: --
IP4.ADDRESS[1]: 192.168.8.150/24
IP4.GATEWAY: --
IP4.ROUTE[1]: dst = 192.168.8.0/24, nh = 0.0.0.0, mt = 100
IP4.DNS[1]: 1.1.1.1
IP4.DNS[2]: 1.0.0.1
DHCP4.OPTION[1]: broadcast_address = 192.168.8.255
DHCP4.OPTION[2]: dhcp_client_identifier = 01:1c:69:7a:ab:a9:73
DHCP4.OPTION[3]: dhcp_lease_time = 43200
DHCP4.OPTION[4]: dhcp_server_identifier = 192.168.8.1
DHCP4.OPTION[5]: domain_name = lan
DHCP4.OPTION[6]: domain_name_servers = 192.168.8.1
DHCP4.OPTION[7]: expiry = 1690457283
DHCP4.OPTION[8]: host_name = silverblue38
DHCP4.OPTION[9]: ip_address = 192.168.8.150
DHCP4.OPTION[10]: next_server = 192.168.8.1
DHCP4.OPTION[11]: requested_broadcast_address = 1
DHCP4.OPTION[12]: requested_domain_name = 1
DHCP4.OPTION[13]: requested_domain_name_servers = 1
DHCP4.OPTION[14]: requested_domain_search = 1
DHCP4.OPTION[15]: requested_host_name = 1
DHCP4.OPTION[16]: requested_interface_mtu = 1
DHCP4.OPTION[17]: requested_ms_classless_static_routes = 1
DHCP4.OPTION[18]: requested_nis_domain = 1
DHCP4.OPTION[19]: requested_nis_servers = 1
DHCP4.OPTION[20]: requested_ntp_servers = 1
DHCP4.OPTION[21]: requested_rfc3442_classless_static_routes = 1
DHCP4.OPTION[22]: requested_root_path = 1
DHCP4.OPTION[23]: requested_routers = 1
DHCP4.OPTION[24]: requested_static_routes = 1
DHCP4.OPTION[25]: requested_subnet_mask = 1
DHCP4.OPTION[26]: requested_time_offset = 1
DHCP4.OPTION[27]: requested_wpad = 1
DHCP4.OPTION[28]: routers = 192.168.8.1
DHCP4.OPTION[29]: subnet_mask = 255.255.255.0
IP6.ADDRESS[1]: fdcb:b03f:c0b:10::7b9/128
IP6.ADDRESS[2]: fdcb:b03f:c0b:10:1e69:7aff:feab:a973/64
IP6.ADDRESS[3]: fe80::1e69:7aff:feab:a973/64
IP6.GATEWAY: --
IP6.ROUTE[1]: dst = fe80::/64, nh = ::, mt = 1024
IP6.ROUTE[2]: dst = fdcb:b03f:c0b:10::/64, nh = ::, mt = 100
IP6.ROUTE[3]: dst = fdcb:b03f:c0b::/48, nh = fe80::9683:c4ff:fe09:d882, mt = 100
IP6.ROUTE[4]: dst = fdcb:b03f:c0b:10::7b9/128, nh = ::, mt = 100
IP6.DNS[1]: 2606:4700:4700::1111
IP6.DNS[2]: 2606:4700:4700::1001
DHCP6.OPTION[1]: dhcp6_client_id = 00:04:4d:b9:cf:08:79:5b:80:4c:4f:01:44:9c:1e:17:64:57
DHCP6.OPTION[2]: dhcp6_name_servers = fdcb:b03f:c0b:10::1
DHCP6.OPTION[3]: iaid = 64:04:95:7c
DHCP6.OPTION[4]: ip6_address = fdcb:b03f:c0b:10::7b9
$ dig (after rebooting)
...
;; SERVER: 127.0.0.53#53(127.0.0.53) (UDP)
...
/etc/resolv.conf got written over from earlier
$ ip route
190.168.8.0/24 dev enp89s0 proto kernel scope link src 192.168.8.150 metric 100
$ dnsmasq
dnsmasq: failed to create listening socket for 127.0.0.1: Permission denied
$ sudo ss -lp "sport = :domain"
[sudo] password for user:
Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
udp UNCONN 0 0 127.0.0.54:domain 0.0.0.0:* users:(("systemd-resolve",pid=6909,fd=18))
udp UNCONN 0 0 127.0.0.53%lo:domain 0.0.0.0:* users:(("systemd-resolve",pid=6909,fd=16))
tcp LISTEN 0 4096 127.0.0.54:domain 0.0.0.0:* users:(("systemd-resolve",pid=6909,fd=19))
tcp LISTEN 0 4096 127.0.0.53%lo:domain 0.0.0.0:* users:(("systemd-resolve",pid=6909,fd=17))
I went through the whole procedure of stopping, disabling and masking systemd-resolved.service but that did not help either.
After half a day trying to fix this myself, I’m pretty lost. I’m hoping for a little help. Thanks very much!