Hi,
I am having suddenly troubles with resolving DNS entries on macOS
Sequoia 15.2.
I do not think this is related to my dnsmasq configuration, but maybe
someone discovered something similar and might be able to help.
I have a local network with the domain "prager.homeip.net" and local a
host "odin".
'dig' resolves the local host correctly, but 'ping' tries to connect to
the external network ip address instead.
Would anybody have an idea what could be wrong and how I fix this?
Thank you,
-- Bernd
❯ dig prager.homeip.net
; <<>>
DiG 9.10.6 <<>> prager.homeip.net
;; global options:
+cmd
;; Got answer:
;;
->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51204
;; flags: qr rd ra;
QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT
PSEUDOSECTION:
; EDNS: version: 0,
flags:; udp: 512
;; QUESTION SECTION:
;prager.homeip.net.INA
;; ANSWER SECTION:
prager.homeip.net.60INA76.175.52.6
;; Query time: 28
msec
;; SERVER:
192.168.1.2#53(192.168.1.2)
;; WHEN: Thu Jan 09
13:10:18 PST 2025
;; MSG SIZErcvd: 62
❯ dig odin
; <<>>
DiG 9.10.6 <<>> odin
;; global options:
+cmd
;; Got answer:
;;
->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48291
;; flags: qr aa rd
ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT
PSEUDOSECTION:
; EDNS: version: 0,
flags:; udp: 1232
;; QUESTION SECTION:
;odin.INA
;; ANSWER SECTION:
odin.0INA192.168.1.3
;; Query time: 2
msec
;; SERVER:
192.168.1.2#53(192.168.1.2)
;; WHEN: Thu Jan 09
13:10:31 PST 2025
;; MSG SIZErcvd: 49
❯ ping -t 1 odin
PING
prager.homeip.net (76.175.52.6): 56 data bytes
64 bytes from
76.175.52.6: icmp_seq=0 ttl=64 time=1.594 ms
---
prager.homeip.net ping statistics ---
1 packets
transmitted, 1 packets received, 0.0% packet loss
round-trip
min/avg/max/stddev = 1.594/1.594/1.594/nan ms
❯ scutil --dns
DNS configuration
resolver #1
search domain[0] : prager.homeip.net
nameserver[0] : 192.168.1.2
flags: Request A records
reach: 0x00020002 (Reachable,Directly Reachable Address)
resolver #2
domain: local
options: mdns
timeout: 5
flags: Request A records
reach: 0x00000000 (Not Reachable)
order: 300000
resolver #3
domain: 254.169.in-addr.arpa
options: mdns
timeout: 5
flags: Request A records
reach: 0x00000000 (Not Reachable)
order: 300200
resolver #4
domain: 8.e.f.ip6.arpa
options: mdns
timeout: 5
flags: Request A records
reach: 0x00000000 (Not Reachable)
order: 300400
resolver #5
domain: 9.e.f.ip6.arpa
options: mdns
timeout: 5
flags: Request A records
reach: 0x00000000 (Not Reachable)
order: 300600
resolver #6
domain: a.e.f.ip6.arpa
options: mdns
timeout: 5
flags: Request A records
reach: 0x00000000 (Not Reachable)
order: 300800
resolver #7
domain: b.e.f.ip6.arpa
options: mdns
timeout: 5
flags: Request A records
reach: 0x00000000 (Not Reachable)
order: 301000
DNS configuration
(for scoped queries)
resolver #1
search domain[0] : prager.homeip.net
nameserver[0] : 192.168.1.2
if_index : 23 (en9)
flags: Scoped, Request A records
reach: 0x00020002 (Reachable,Directly Reachable Address)
resolver #2
search domain[0] : prager.homeip.net
nameserver[0] : 192.168.1.2
if_index : 14 (en0)
flags: Scoped, Request A records
reach: 0x00020002 (Reachable,Directly Reachable Address)
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss