[Dnsmasq-discuss] Details of the --dhcp-optsdir= option

2021-09-03 Thread Chris Green
If I have set dhcp-optsdir in /etc/dnsmasq.conf and add a file to the directory it points to I assume any extra configuration in the added file will 'just happen' without any restart or signalling of dnsmasq. However (like the description for dhcp-hostsdir I presume that an option I have added as

Re: [Dnsmasq-discuss] Details of the --dhcp-optsdir= option

2021-09-03 Thread Michael
On 9/3/21 1:23 PM, Chris Green wrote: If I have set dhcp-optsdir in /etc/dnsmasq.conf and add a file to the directory it points to I assume any extra configuration in the added file will 'just happen' without any restart or signalling of dnsmasq. However (like the description for dhcp-hostsdir I

Re: [Dnsmasq-discuss] Details of the --dhcp-optsdir= option

2021-09-04 Thread Chris Green
On Fri, Sep 03, 2021 at 02:32:06PM -0700, Michael wrote: > > > So the normal 'everything working' situation will be system A (say on > > 192.168.1.2) is a DNS and DHCP server. System B (say on 192.168.1.3) > > provides only DNS. System A's DHCP server will give out both > > 192.168.1.2 and 192.1

Re: [Dnsmasq-discuss] Details of the --dhcp-optsdir= option

2021-09-04 Thread Chris Green
On Fri, Sep 03, 2021 at 02:32:06PM -0700, Michael wrote: > On 9/3/21 1:23 PM, Chris Green wrote: > > If I have set dhcp-optsdir in /etc/dnsmasq.conf and add a file to the > > directory it points to I assume any extra configuration in the added > > file will 'just happen' without any restart or sign

Re: [Dnsmasq-discuss] Details of the --dhcp-optsdir= option

2021-09-04 Thread Ed W
On 04/09/2021 09:15, Chris Green wrote: >> This works if your DHCP server only hands out static addressing so the host >> names are all listed in the /etc/hosts or addn hosts location on both >> machines.   If the DHCP server is handing out addresses from a pool, then >> only the DHCP dnsmasq inst

Re: [Dnsmasq-discuss] Details of the --dhcp-optsdir= option

2021-09-04 Thread Chris Green
On Sat, Sep 04, 2021 at 11:29:32AM +0100, Ed W wrote: > On 04/09/2021 09:15, Chris Green wrote: > > >> This works if your DHCP server only hands out static addressing so the host > >> names are all listed in the /etc/hosts or addn hosts location on both > >> machines.   If the DHCP server is handi

Re: [Dnsmasq-discuss] Details of the --dhcp-optsdir= option

2021-09-04 Thread Ed W
On 04/09/2021 12:07, Chris Green wrote: > On Sat, Sep 04, 2021 at 11:29:32AM +0100, Ed W wrote: >> On 04/09/2021 09:15, Chris Green wrote: >> >>> I was aiming to synchronise the lease file in /var between the two >>> systems as well as the configuration. >>> >> Did you see my suggestion to cross po

Re: [Dnsmasq-discuss] Details of the --dhcp-optsdir= option

2021-09-04 Thread Chris Green
On Sat, Sep 04, 2021 at 03:34:59PM +0100, Ed W wrote: > On 04/09/2021 12:07, Chris Green wrote: > > On Sat, Sep 04, 2021 at 11:29:32AM +0100, Ed W wrote: > >> On 04/09/2021 09:15, Chris Green wrote: > >> > >>> I was aiming to synchronise the lease file in /var between the two > >>> systems as well