On 2023-05-09 20:58, Per Jessen wrote:
Carlos E. R. wrote:
On 2023-05-09 20:42, Per Jessen wrote:
Carlos E. R. wrote:
On 2023-05-09 16:46, Per Jessen wrote:
Carlos E. R. wrote:
I just want dnsmasq to process and answer all queries, not a backup or external resolver.
That is _exactly_ what it does in the config I posted above:
search local.net z.local.net i.local.net nameserver 127.0.0.1 nameserver 192.168.2.254 nameserver 2001:db8:4c68:1::1000
You mean that all those IPs are the same single machine, 127.0.0.1?
No - 127.0.0.1 is the local host, inserted by netconfig, with dnsmasq listening, but the other two are indeed just one machine, our core DNS, supplied by dhcp/RA.
With that config, dnsmasq processes and answers all queries which is what you said you want.
Ok. But if dnsmasq fails,
Ah yes, the once in a decade event.
BTDT.
then the other servers will be queried instead, silently, so the failure of dnsmasq is not noticed.
Actually, it will be noticed when dnsmasq fails to do what it is supposed to do. In my case, I direct queries for certain domains to certain nameservers. If that were to fail, I would notice the next time I tried to access servers on those domains.
Right. Something similar here, but the backup (running bind in the miniserver) has some similar entries, so I might not notice, the change would be subtle. I prefer a drastic failure :-D -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)