Hi
I updated Fedora 38 yesterday after reinstalling for the first time and I have a DNS issue such that I cant access the internet via any web browser. I can ping 8.8.8.8 and it works fine. The little wifi icon in the top right corner has a little question mark on it.
I am sure something has changed when the system updated for the first time.
UPDATE
OK so a systemctl restart systemd-resolved fixed the issue. However, when I log back off and back on again, same issue. I have to reset systemctl restart systemd-resolved again. How to make this permanent?
Thank you both, the wifi is fine until I shutdown and reboot the machine. At that point I have to enter systemctl restart systemd-resolved. I then have to go into âSettingsâ turn wifi off and then back on again and then it works. Carlos, I ran your commands to point resolv.conf to the stub.
Seems shutdown is interfering with systemd resolved somehow.
Try disabling PXE boot and Wake on Lan in your BIOS.
Sometimes the transition of the wifi device from the BIOS to the OS doesnât work that well. Better to tell the BIOS to just donât mess with it to support WoL or PXE.
Wow, Iâm very surprised that the systemd-resolved package didnât have the selinux policies to not need to do that manual policy. Also, it is not systemd-resolve, but systemd-resolved.
I have Fedora 38, and SELinux enforcing, and systemd-resolved running, and no issues. The selinux-policy-targeted should have brought all of that. If adding that policy manually worked, something must have broke badly during an update.
Normally, it requires no extra policies, otherwise this would be a common issue.
There must be some customization or legacy leftovers involved altering the default setup.
Jul 07 05:52:45 fedora systemd[1]: systemd-resolved.service: Scheduled restart job, restart counter is at 5.
Jul 07 05:52:45 fedora systemd[1]: Stopped systemd-resolved.service - Network Name Resolution.
Jul 07 05:52:45 fedora systemd[1]: systemd-resolved.service: Start request repeated too quickly.
Jul 07 05:52:45 fedora systemd[1]: systemd-resolved.service: Failed with result âexit-codeâ.
Jul 07 05:52:45 fedora systemd[1]: Failed to start systemd-resolved.service - Network Name Resolution.
Jul 07 05:52:51 fedora systemd[1]: systemd-resolved.service: Start request repeated too quickly.
Jul 07 05:52:51 fedora systemd[1]: systemd-resolved.service: Failed with result âexit-codeâ.
Jul 07 05:52:51 fedora systemd[1]: Failed to start systemd-resolved.service - Network Name Resolution.
resolvectl --no-pager status
Global
Protocols: LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: stub
Current DNS Server: 8.8.8.8
DNS Servers: 8.8.8.8
Fallback DNS Servers: 8.8.4.4
Link 2 (enp0s25)
Current Scopes: none
Protocols: -DefaultRoute LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported
Link 3 (wlp3s0)
Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6
Protocols: +DefaultRoute LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: 192.168.1.254
DNS Servers: 192.168.1.254 fe80::ca99:b2ff:fea0:a623
DNS Domain: home
nmcli connection show
NAME UUID TYPE DEVICE
The Eagles Nest 93d24cc8-7866-4d34-bf60-84293a5d5a09 wifi wlp3s0
lo 8f806c7b-6bec-47f1-97d5-01440cedf057 loopback lo
BTWi-fi eece241d-db96-4828-8f79-59dc18045c24 wifi â
Wired connection 1 a4402aee-4bbd-320d-aa00-79ff366b6f2a ethernet â
[tony@fedora ~]$