[Dnsmasq-discuss] Can mulitple --conf-dir be specified?

M. Buecher maddes+debian at maddes.net
Fri May 31 22:02:14 BST 2019



On 2019-05-31 22:12, Geert Stappers wrote:
> On Fri, May 31, 2019 at 12:45:01AM +0200, M. Buecher wrote:
>> On 2019-05-30 23:37, Geert Stappers wrote:
>> > On Thu, May 30, 2019 at 09:47:34PM +0200, M. Buecher wrote:
>> > > Hi all,
>> > >
>> > > just thinking about a new dnsmasq setup,
>> >
>> > OK, acknowledge.
>> >
>> >
>> > > and I would like to read .conf files from multiple directories.
>> >
>> > Why?
>> > What would be the benefit over multiple files?
>> 
>> I'm always using a modular approach, therefore I already use multiple 
>> conf
>> files inside a conf dir per instance.
>> Now I want to use a common conf dir plus separate conf dirs for my 
>> multiple
>> dnsmasq instances.
> 
> 
> That does not answer
>> > What would be the benefit over multiple files?

I do not use a monolithic conf file, but a lot of small conf files.
Re-using config dirs, and therefore all conf files in it, for different 
dnsmasq instances is the benefit.

As you ask for it, so it is not possible right now?

>> > > So, is it possible to specify multiple --conf-dir and does this
>> > > work? Either via console parameter or via .conf file.
>> > > The man page only talks from a single directory, but does not
>> > > explicitly deny or allow multiple ones.
> 
> 
> http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=343b7b4ad0e49cd23d41d78fe2a69be3603db502
> 
> 
> Groeten
> Geert Stappers




More information about the Dnsmasq-discuss mailing list