Dig 9.18 times out on mDNS queries
Summary
Dig times out when attempting to resolve a mDNS query. This is new behavior with 9.18; dig worked fine with 9.16 and before. I get the same behavior with both a built from source copy of dig and one ported from MacPorts.
BIND version used
BIND 9.18.3 (Stable Release) <id:16aefa3>
running on Darwin arm64 21.5.0 Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:37 PDT 2022; root:xnu-8020.121.3~4/RELEASE_ARM64_T6000
built by make with '--prefix=/opt/local' '--disable-silent-rules' '--mandir=/opt/local/share/man' '--with-openssl=/opt/local' '--with-libidn2=/opt/local' '--enable-doh' 'CC=/usr/bin/clang' 'CFLAGS=-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64' 'LDFLAGS=-L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64' 'CPPFLAGS=-I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
compiled by CLANG Apple LLVM 13.1.6 (clang-1316.0.21.2.5)
compiled with OpenSSL version: OpenSSL 3.0.3 3 May 2022
linked to OpenSSL version: OpenSSL 3.0.3 3 May 2022
compiled with libuv version: 1.44.1
linked to libuv version: 1.44.1
compiled with libnghttp2 version: 1.47.0
linked to libnghttp2 version: 1.47.0
compiled with libxml2 version: 2.9.14
linked to libxml2 version: 20914
compiled with json-c version: 0.15
linked to json-c version: 0.15
compiled with zlib version: 1.2.12
linked to zlib version: 1.2.12
threads support is enabled
default paths:
named configuration: /opt/local/etc/named.conf
rndc configuration: /opt/local/etc/rndc.conf
DNSSEC root key: /opt/local/etc/bind.keys
nsupdate session key: /opt/local/var/run/named/session.key
named PID file: /opt/local/var/run/named/named.pid
named lock file: /opt/local/var/run/named/named.lock
Steps to reproduce
Attempt an mDNS query with dig 9.18 as shown below.
What is the current bug behavior?
$ dig +short @224.0.0.251 -p 5353 Maggie.local
;; connection timed out; no servers could be reached
What is the expected correct behavior?
$ dig +short @224.0.0.251 -p 5353 Maggie.local
192.168.0.82
Relevant configuration files
N/A
Relevant logs and/or screenshots
PCAP file attached (if I've read tcpdump correctly, the query goes out and is answered but dig doesn't see it).dig9_18mdns_202206272218.pcap
Possible fixes
Unknown