[Dnsmasq-discuss] Change in behaviour of --server
Kevin Darbyshire-Bryant
kevin at darbyshire-bryant.me.uk
Tue Jul 6 11:14:05 UTC 2021
Hi Simon,
An eager OpenWrt tester of current dnsmasq master has noticed the following change in behaviour:
Openwrt uses a conf file containing a list of RFC6761 domains that are considered undesirable to forward, reducing load on upstream servers etc. This conf file contains lines such as "server=/onion/“. Said user overrides this with a line in main config file ’server=/onion/127.0.0.1#2053’. Unfortunately current dnsmasq looks through its servers and returns ’NXDOMAIN’. dnsmasq v2.85 says ‘yeah fine, I’ll forward that to 127.0.0.1#2053’
The are two solutions to this: 1) drop ’server=/onion/‘ from the RFC6761 config file - 2) Take advantage of new syntax and use ’server=/*.onion/127.0.0.1#2053’
I’m flagging this as a change in behaviour and I’m not sure how syntactically it can or even should be fixed, or just documented as a change in behaviour. eg.
Should there be a difference (& what should it be) between
--server=/onion/
--server=/onion/127.0.0.1#2053
(forward to 127.0.0.1#2053)
and
--server=/onion/127.0.0.1#2053
--server=/onion/
(not sure!)
or even worse
--server=/onion/127.0.0.1#2053
--server=/onion/
--server=/onion/127.0.0.1#2153
(use both #2053 & #2153?)
Cheers,
Kevin D-B
gpg: 012C ACB2 28C6 C53E 9775 9123 B3A2 389B 9DE2 334A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20210706/19f8ca13/attachment-0001.sig>
More information about the Dnsmasq-discuss
mailing list