Hello,
I tried to simplify my example.
With dnsmasq v2.86, I am not able to use the catch-all form of the
address parameter any more, while it still worked for v2.85.
Is this a bug or am I missing some parameter?
With v.2.86 I get the message 'config error is REFUSED (EDE: not ready)'
for any query:
$ sudo ./bin/dnsmasq --no-daemon --log-queries=extra --log-debug
--listen-address=127.0.0.1 --address='/#/127.0.1' --no-hosts --no-resolv
dnsmasq: started, version 2.86 cachesize 150
dnsmasq: compile time options: IPv6 GNU-getopt no-DBus no-UBus no-i18n no-IDN
DHCP DHCPv6 no-Lua TFTP no-conntrack no-ipset auth no-cryptohash no-DNSSEC
loop-detect no-inotify dumpfile
dnsmasq: setting --bind-interfaces option because of OS limitations
dnsmasq: warning: no upstream servers configured
dnsmasq: cleared cache
dnsmasq: 1 127.0.0.1/57098 query[A] a.com from 127.0.0.1
dnsmasq: 1 127.0.0.1/57098 config error is REFUSED (EDE: not ready)
$ dig @127.0.0.1 a.com
; <<>> DiG 9.8.3-P1 <<>> @127.0.0.1 a.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 47287
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;a.com. IN A
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Sep 22 10:44:20 2021
;; MSG SIZE rcvd: 23
With v2.85, dnsmasq answers as expected:
$ sudo ./bin/dnsmasq --no-daemon --log-queries=extra --log-debug
--listen-address=127.0.0.1 --address='/#/127.0.0.1' --no-hosts --no-resolv
dnsmasq: started, version 2.85 cachesize 150
dnsmasq: compile time options: IPv6 GNU-getopt no-DBus no-UBus no-i18n no-IDN
DHCP DHCPv6 no-Lua TFTP no-conntrack no-ipset auth no-cryptohash no-DNSSEC
loop-detect no-inotify dumpfile
dnsmasq: setting --bind-interfaces option because of OS limitations
dnsmasq: cleared cache
dnsmasq: 1 127.0.0.1/55225 query[A] a.com from 127.0.0.1
dnsmasq: 1 127.0.0.1/55225 config a.com is 127.0.0.1
$ dig @127.0.0.1 a.com
; <<>> DiG 9.8.3-P1 <<>> @127.0.0.1 a.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4983
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;a.com. IN A
;; ANSWER SECTION:
a.com. 0 IN A 127.0.0.1
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Sep 22 10:45:18 2021
;; MSG SIZE rcvd: 39
Regards,
Jean-Philippe Lambert
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss