Dear community,
I am using Fedora since serveral years absolutely flawless. Great distribution! Since upgrading to Fedora 39 I am facing issues with Wayland (as described in a different thread) and since about a week with the DNS resolver configuration.
After booting the sytsem and logging in and already at the login screen, the Gnome desktop shows an icon, which indicates failure on the network connection, which in my case is Ethernet based.

Webbrowsers show, that thry cannot resolve names. The local network is working though and I can access ressources through local IP addresses.
Looking up hostnames I get an error message, that the local DNS server is not accessible āconnection refusedā:
[eth@wlg3060 ~]$ dig discussion.fedoraproject.org
;; communications error to ::1#53: connection refused
;; communications error to ::1#53: connection refused
;; communications error to ::1#53: connection refused
;; communications error to 127.0.0.1#53: connection refused
; <<>> DiG 9.18.20 <<>> discussion.fedoraproject.org
;; global options: +cmd
;; no servers could be reached
The funny thing is, that it is good enough to issue the command resolvectl status, which already repairs the DNS lookup. A following call to dig returns the correct IP address.
[eth@wlg3060 ~]$ resolvectl status
Global
Protocols: LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: stub
Link 2 (enp5s0)
Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6
Protocols: +DefaultRoute LLMNR=resolve -mDNS -DNSOverTLS
DNSSEC=no/unsupported
DNS Servers: 192.168.178.9 fd00::1c5a:584f:362f:3ba2
DNS Domain: fritz.box
Link 3 (wlo1)
Current Scopes: none
Protocols: -DefaultRoute LLMNR=resolve -mDNS -DNSOverTLS
DNSSEC=no/unsupported
[eth@wlg3060 ~]$ dig discussion.fedoraproject.org
; <<>> DiG 9.18.20 <<>> discussion.fedoraproject.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12925
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;discussion.fedoraproject.org. IN A
;; ANSWER SECTION:
discussion.fedoraproject.org. 300 IN CNAME fedoraproject.hosted-by-discourse.com.
fedoraproject.hosted-by-discourse.com. 300 IN A 184.105.99.43
;; Query time: 183 msec
;; SERVER: 127.0.0.53#53(127.0.0.53) (UDP)
;; WHEN: Fri Dec 15 16:58:56 CET 2023
;; MSG SIZE rcvd: 124
Thus there is an easy work-around available, but it is quite annoying to go to the shell after every boot.
Am I the only person who has this problem on a recently updated Fedora 39 system? Why is the DNS system refusing connections? How to fix this?
I am willing to share more configuration details, but do hard to identify, which configs to share.
The obvious resolve.conf contains:
nameserver 127.0.0.53
options edns0 trust-ad
search fritz.box
Thank you for any hint in advance!
Thomas