Article 5H614 Fedora 34: Local dns-server doesn't resolve

Fedora 34: Local dns-server doesn't resolve

by
dr-ing
from LinuxQuestions.org on (#5H614)
Hello,

I'm using Fedora34 with Gnome 40 and I'm having the problem that my local DNS server, which my system obtains via DHCP (on a WiFi NIC), is not working (even when set manually via the GUI).
I get the following output from the gnome-network-manager GUI (see Appendix 1), which seems to be correct. It mentions two DNS servers, 10.0.150.146, which is my local one, and 1.1.1.1, which I use as an alternative for Internet addresses.

But now it looks like my Fedora system only uses the second one (1.1.1.1) because I have normal internet access, but all my local addresses configured on my local DNS (10.0.150.146) are not resolved.

This is the output of 'systemd-resolve --stat':
Code:Link 3 (wlp3s0)
Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6
Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: 1.1.1.1
DNS Servers: 10.0.150.146 1.1.1.1
DNS Domain: mydomain.localmy '/etc/resolv.conf' file:
Code:...
nameserver 127.0.0.53
options edns0 trust-ad
search mydomain.localand my 'nmconnection' file in '/etc/NetworkManager/system-connections':
Code:...
[ipv4]
dns=10.0.150.146;1.1.1.1;
dns-search=mydomain.local;
ignore-auto-dns=true
method=auto
...To verify that my dns server is working, I can successfully perform a dig with my local dns server explicitly mentioned:
Code:; <<>> DiG 9.16.11-RedHat-9.16.11-5.fc34 <<>> example.mydomain.local @10.0.150.146
;; global options: +cmd
;; Got answer:
;; WARNING: .local is reserved for Multicast DNS
;; You are currently testing what happens when an mDNS query is leaked to DNS
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5535
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; WARNING: recursion requested but not available

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; COOKIE: 68bf19cba8a6dc0d (echoed)
;; QUESTION SECTION:
;example.mydomain.local. IN A

;; ANSWER SECTION:
example.mydomain.local. 3600 IN A 10.0.10.5

;; Query time: 13 msec
;; SERVER: 10.0.150.146#53(10.0.150.146)
;; WHEN: Wed Apr 28 16:03:11 CEST 2021
;; MSG SIZE rcvd: 93and without the @10.0.150.146:
Code:; <<>> DiG 9.16.11-RedHat-9.16.11-5.fc34 <<>> example.mydomain.local
;; global options: +cmd
;; Got answer:
;; WARNING: .local is reserved for Multicast DNS
;; You are currently testing what happens when an mDNS query is leaked to DNS
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 18802
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;example.mydomain.local. IN A

;; AUTHORITY SECTION:
. 7173 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2021042800 1800 900 604800 86400

;; Query time: 0 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)
;; WHEN: Wed Apr 28 16:02:34 CEST 2021
;; MSG SIZE rcvd: 122Does anyone know why my local dns server is not being used even though it appears as a dns server?
Attached Thumbnailsattachment.php?attachmentid=36252&stc=1& latest?d=yIl2AUoC8zA latest?i=6XyccbQMgbw:hYHm0ttGJeg:F7zBnMy latest?i=6XyccbQMgbw:hYHm0ttGJeg:V_sGLiP latest?d=qj6IDK7rITs latest?i=6XyccbQMgbw:hYHm0ttGJeg:gIN9vFw6XyccbQMgbw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments