Re: [Dnsmasq-discuss] No forgetting logic when using hostsdir

2020-05-17 Thread Geert Stappers
On Sun, May 17, 2020 at 12:08:36PM +0100, an0nym wrote: > On Sun, May 17, 2020 at 10:28:11AM +, Kevin 'ldir' Darbyshire-Bryant > wrote: > > The man page sayeth: > > (http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html) > > > > --hostsdir= > > Read all the hosts files contained in the

Re: [Dnsmasq-discuss] No forgetting logic when using hostsdir

2020-05-17 Thread an0nym
Thank you, Kevin. Regrettably, I have missed this documented statement. Now everything makes sense. ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Re: [Dnsmasq-discuss] No forgetting logic when using hostsdir

2020-05-17 Thread Kevin 'ldir' Darbyshire-Bryant
The man page sayeth: (http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html) --hostsdir= Read all the hosts files contained in the directory. New or changed files are read automatically. See --dhcp-hostsdir for details. --dhcp-hostsdir= This is equivalent to --dhcp-hostsfile, except for

Re: [Dnsmasq-discuss] No forgetting logic when using hostsdir

2020-05-17 Thread an0nym
Hi Geert, Thank you for your response. I am not sure I fully understand it. Yes, both times the same IP address is passed however test.conf is being overwritten so at any point in time there is at most one entry with this IP address as per the conf files. Yet dnsmasq daemon thinks there is a

Re: [Dnsmasq-discuss] No forgetting logic when using hostsdir

2020-05-17 Thread Geert Stappers
On Sat, May 16, 2020 at 05:07:59PM +0100, an0nym wrote: > Hello, > > I hope you are safe and well. > > When dnsmasq is configured to monitor hostsdir, I believe there is no > forgetting logic when you delete and then create or simply overwrite one of > the files there with different filter and