[Dnsmasq-discuss] priority of local= and ipset=

2022-01-03 Thread Justin
Hello i have settings in the order like this in dnsmasq.conf local=/google.com/1.1.1.1 local=/google.com/8.8.8.8 ipset=/google.com/one ipset=/google.com/two what is the behavior of dnsmasq? which nameserver will be uses to resolve google.com and which set name will the resolved ip of google.com b

Re: [Dnsmasq-discuss] dnsmasq and external DHCPv6 servers

2022-01-03 Thread Eric Dittman via Dnsmasq-discuss
On 1/3/22 5:14 PM, Geert Stappers via Dnsmasq-discuss wrote: On Mon, Jan 03, 2022 at 03:55:18PM -0600, Eric Dittman via Dnsmasq-discuss wrote: I have a Ubiquiti UDM SE. It uses dnsmasq for DNS, DHCP, and RAs. I have external DNS and DHCP servers so I want to send RA packets with the M and O f

Re: [Dnsmasq-discuss] Infinite loop in dnsmasq v2.86?

2022-01-03 Thread John Byrne via Dnsmasq-discuss
dnssec-debug was just me trying to get some output to tell me what was happening when things went bad. I'll play a bit more at trying to reproduce it, but it is happening about every two days with no recognizable trigger so far. My best bet may be to set up a debug version and have gdb availab

Re: [Dnsmasq-discuss] Infinite loop in dnsmasq v2.86?

2022-01-03 Thread Simon Kelley
The only thing that sticks out in the config is dnssec-debug. Not recommended to run that in production use. As for debugging, the crucial thing, as always, is being able to reproduce the problem with as little effect as possible. Once that's done, building with make CFLAGS=-g and then running u

Re: [Dnsmasq-discuss] dnsmasq and external DHCPv6 servers

2022-01-03 Thread Geert Stappers via Dnsmasq-discuss
On Mon, Jan 03, 2022 at 03:55:18PM -0600, Eric Dittman via Dnsmasq-discuss wrote: > I have a Ubiquiti UDM SE. It uses dnsmasq for DNS, DHCP, and RAs. I > have external DNS and DHCP servers so I want to send RA packets with > the M and O flags set and the A flag reset, but I can't figure out the

[Dnsmasq-discuss] dnsmasq and external DHCPv6 servers

2022-01-03 Thread Eric Dittman via Dnsmasq-discuss
I have a Ubiquiti UDM SE. It uses dnsmasq for DNS, DHCP, and RAs. I have external DNS and DHCP servers so I want to send RA packets with the M and O flags set and the A flag reset, but I can't figure out the proper configuration to do that. Right now just to get RA working on the subnets for IP

Re: [Dnsmasq-discuss] [bisected] re-reading resolv.conf bug

2022-01-03 Thread Geert Stappers via Dnsmasq-discuss
On Mon, Jan 03, 2022 at 08:30:33PM +0100, Johannes Stezenbach wrote: > Hi Simon, > > commit efea282396 "Fix logic in add_update_server() to make > optimisation actually optimise." That is https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commitdiff;h=efea282396 > introduced a bug when re-readi

[Dnsmasq-discuss] [bisected] re-reading resolv.conf bug

2022-01-03 Thread Johannes Stezenbach
Hi Simon, commit efea282396 "Fix logic in add_update_server() to make optimisation actually optimise." introduced a bug when re-reading resolv.conf after changes. Found by git bisect and confirmed by reverting efea282396 on top of current git 011f8cf1d011. The issue happens when starting/stopping

[Dnsmasq-discuss] DNS server and domain handling code regression?

2022-01-03 Thread Sir LEEt
I need to suppress ipv6 DNS for Netflix because otherwise they 'wrongly' assume my ipv6 tunnel is a VPN. And I have a config for that looking something like this (in a config file in /usr/local/etc/dnsmasq.conf.d): server=/netflix.com/# address=/netflix.com/