Work-a-round for dig WARNING: .local is reserved for Multicast DNS

by | Mar 27, 2025 | IT Tips | 0 comments

dig doesn't like querying dot local domains because they are reserved for mDNS

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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

1
2
3
4
5
6
7
8
9
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

Submit a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.