Hi Chiang,
I discovered the same issue and even posted patch on 2019-04-12 [1].
Queries without RD flag are always forwarded to "upstream" server, not
answered locally. REFUSED is usually given by server dnsmasq points to,
dnsmasq is just passing it to you. It should be fixed, but no reply for
it
Hello,
I’m having some trouble getting dnsmasq to respond to PTR queries without
recursion desired, even when authoritative mode is enabled.
Given the following config:
domain-needed
bogus-priv
no-resolv
no-hosts
port=10053
server=/example.com/
log-queries
host-record=host1.example.com,10.2.3.4