dig doesn't like querying dot local domains because they are reserved for mDNS
dig @192.168.73.10 tgn-home-dc01.toggen.local
# output
; <<>> DiG 9.18.30-0ubuntu0.24.04.2-Ubuntu <<>> @192.168.73.10 tgn-home-dc01.toggen.local
; (1 server found)
;; 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: FORMERR, id: 21816
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; WARNING: recursion requested but not available
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; COOKIE: 743034e4dd649273 (echoed)
;; QUESTION SECTION:
;tgn-home-dc01.toggen.local. IN A
;; Query time: 29 msec
;; SERVER: 192.168.73.10#53(192.168.73.10) (UDP)
;; WHEN: Thu Mar 27 06:06:28 AEDT 2025
;; MSG SIZE rcvd: 66
Work-a-round using host
host tgn-home-dc01.toggen.local 192.168.73.10
# output
Using domain server:
Name: 192.168.73.10
Address: 192.168.73.10#53
Aliases:
tgn-home-dc01.toggen.local has address 192.168.73.10
0 Comments