Gentoo Archives: gentoo-user

From: Alexander Puchmayr <alexander.puchmayr@×××××××.at>
To: gentoo-user@l.g.o
Subject: [gentoo-user] systemd DNS does not resolve 'local' addresses
Date: Sat, 02 Apr 2022 21:22:51
Message-Id: 13064423.uLZWGnKmhe@hermes
1 Hi,
2
3 After upgrading systemd from 249.9 to 249.11, some of my host names defined in
4 my router's host file do no longer resolve, but nslookup can still resolve
5 them properly. With 249.9 everything works fine, and all other machines which
6 did not yet get the update work fine.
7
8 Any ideas?
9
10 Thanks,
11 Alex
12
13 ## portage.local maps to 192.168.1.6
14 ## DNS-Server provided via DHCP is 192.168.1.1 (openwrt-router)
15
16 buildhost-desktop ~ # ping portage
17 ping: portage: Name or service not known
18
19 buildhost-desktop ~ # ping portage.local
20 ping: portage.local: Temporary failure in name resolution
21
22 buildhost-desktop ~ # host portage
23 portage has address 192.168.1.6
24
25 buildhost-desktop ~ # nslookup portage
26 Server: 192.168.1.1
27 Address: 192.168.1.1#53
28
29 Name: portage
30 Address: 192.168.1.6
31
32 buildhost-desktop ~ # dig portage
33 ; <<>> DiG 9.16.27 <<>> portage
34 ;; global options: +cmd
35 ;; Got answer:
36 ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40446
37 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
38
39 ;; OPT PSEUDOSECTION:
40 ; EDNS: version: 0, flags:; udp: 4096
41 ;; QUESTION SECTION:
42 ;portage. IN A
43
44 ;; ANSWER SECTION:
45 portage. 0 IN A 192.168.1.6
46
47 ;; Query time: 3 msec
48 ;; SERVER: 192.168.1.1#53(192.168.1.1)
49 ;; WHEN: Sat Apr 02 22:49:50 CEST 2022
50 ;; MSG SIZE rcvd: 52
51
52 buildhost-desktop ~ # resolvectl
53 Global
54 Protocols: +LLMNR +mDNS -DNSOverTLS DNSSEC=no/unsupported
55 resolv.conf mode: uplink
56 Fallback DNS Servers: 1.1.1.1#cloudflare-dns.com 8.8.8.8#dns.google
57 1.0.0.1#cloudflare-dns.com 8.8.4.4#dns.google
58 2606:4700:4700::1111#cloudflare-dns.com
59 2001:4860:4860::8888#dns.google
60 2606:4700:4700::1001#cloudflare-dns.com
61 2001:4860:4860::8844#dns.google
62
63 Link 2 (enp3s0)
64 Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6
65 Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/
66 unsupported
67 Current DNS Server: 192.168.1.1
68 DNS Servers: 192.168.1.1
69 buildhost-desktop ~ #

Replies