[Dnsmasq-discuss] [PATCH] --local is broken

Simon Kelley simon at thekelleys.org.uk
Tue Oct 5 22:19:53 UTC 2021


On 05/10/2021 19:52, Dominik Derigs wrote:
> Hey Simon,
> 
> Since commit "Fix --address=/#/...... which was lost in 2.86"
> (26bbf5a314d833beaf0f147d24409969f05f3dba) --local being a
> synonym for --server is broken as --local became a synonym for --
> address.
> 
> The attached patch fixes this.
> 
> This was reported on the Pi-hole forums:
> 
>> I have local=/fritz.box/192.168.0.1 in my /etc/dnsmasq.d/02-
>> localdns.conf config file. This worked fine until upgrading
>> pihole last night. Now all queries to FQDNs such as google.com
>> get responded with google.com.fritz.box and ip address
>> 192.186.0.1.
>>
>> Changing the line to server=/fritz.box/192.168.0.1 restores the
>> previous handling. However, according to the dnsmasq manpage "-
>> -local is a synonym for --server to make configuration files
>> clearer in this case."
> 
> Best,
> Dominik
> 

Patch applied. More discussion in my reply to Petr's reply.


Simon.




More information about the Dnsmasq-discuss mailing list