Re: [Dnsmasq-discuss] Working on read-only drive

2018-06-14 Thread Lindgren Fredrik
dnsmasq has command line option:

-l, --dhcp-leasefile=


or in config file:

dhcp-leasefile=/var/lib/misc/dnsmasq.leases

if you want more details try "man dnsmasq" or example config file provided (at 
least on ubuntu)

/Fredrik


Från: Dnsmasq-discuss  för 
Geert Stappers 
Skickat: den 14 juni 2018 09:40
Till: dnsmasq-discuss@lists.thekelleys.org.uk
Ämne: Re: [Dnsmasq-discuss] Working on read-only drive

On Wed, Jun 13, 2018 at 08:51:01PM -0400, Weedy wrote:
> On Wed, Jun 13, 2018 at 10:34:08PM +0200, Jan Jurá?? wrote:
> >
> > I have Raspberry Pi 3 with minimal raspbian image based on jessie
> > and I use it as access point.
> >
> > The thing is that I made / read-only to prevent any possible
> > corruption caused by power loss. Now the problem of course is that
> > dnsmasq fails to open the lease file for writing and I get the
> > following error:
> >
> > dnsmasq: cannot open or create lease file
> > /var/lib/misc/dnsmasq.leases: read-only file system
> >
> > Now as I see it, I have several options:
> >
> >  * disable somehow leasing so that dnsmasq doesn't fail on startup
> >  * Persuade dnsmasq to search for the lease file elsewhere (I still
> >have rw home)
> >  * Mount the file somehow to RAM disk
> >
> > What would be the best solution and how to do it? Any ideas?
> Stick it on whatever tmpfs is already mounted. Thats what LEDE/OpenWRT do.

How is it done?A symlink? If yes,  what.


Groeten
Geert Stappers
--
Leven en laten leven

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Dnsmasq-discuss Info 
Page
lists.thekelleys.org.uk
A list for discussion about the dnsmasq DNS and DHCP server. Configuration, 
bugs and development. To control spam, only subscribers are allowed to post to 
the list.



___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] dnsmasq dhcp range

2018-05-18 Thread Lindgren Fredrik
Hi Yuki,


I don't want it to share all possible ip's (0.0.0.0/0) but rather share ip's 
from range set on interface.


Example:

dnsmasq.conf contains "interface=eth0"

eth0: inet 192.168.1.1/24

Then it would default to dhcp-range 192.168.1.2-192.168.1.254


This without setting the dhcp-range parameters in the config file.


Br,

Fredrik



Från: Yuki Nisiwaki <uckey.1...@gmail.com>
Skickat: den 18 maj 2018 15:15
Till: Lindgren Fredrik
Kopia: dnsmasq-discuss@lists.thekelleys.org.uk
Ämne: Re: [Dnsmasq-discuss] dnsmasq dhcp range

Hi

I was the one who was trying to do but actually there is no magic code to 
specify full range but you can use multiple /1 dhcp-range 
128.0.0.0/1<http://128.0.0.0/1> and 0.0.0.0/1<http://0.0.0.0/1> to achieve same 
thing.

Regards

Yuki Nishiwaki

On Fri, May 18, 2018 at 21:41 Lindgren Fredrik 
<fredrik.lindg...@tieto.com<mailto:fredrik.lindg...@tieto.com>> wrote:

Hi,


Is there any way to configure dhcp of dnsmasq to use full ipv4 range 
(ip+netmask) of interface given in config file as it dhcp-range?


Br,

Fredrik

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk<mailto:Dnsmasq-discuss@lists.thekelleys.org.uk>
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


[Dnsmasq-discuss] dnsmasq dhcp range

2018-05-18 Thread Lindgren Fredrik
Hi,


Is there any way to configure dhcp of dnsmasq to use full ipv4 range 
(ip+netmask) of interface given in config file as it dhcp-range?


Br,

Fredrik
___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] help with 'tag' option for multiple subnets

2018-04-19 Thread Lindgren Fredrik
Hi Jimmy,


You can have multiple tag checks for each statement


i.e:


# BIOS ipv4 PXE
dhcp-match=bios,option:client-arch, 0
dhcp-boot=tag:subnet1,tag:bios,pxelinux.0,reposerver,172.16.17.15
dhcp-boot=tag:subnet2,tag:bios,pxelinux.0,reposerver,192.168.17.15

# UEFI ipv4 PXE
dhcp-match=set:efi-x86_64,option:client-arch,7
dhcp-boot=tag:efi-x86_64,tag:subnet2,EFI/bootx64.efi,reposerver,172.16.17.15

There are also tags automatically created for incoming interface
So if you have multiple interfaces on machine and get the DHCP requests for the 
different subnets from different interfaces you can use that to select which 
range to answer with
Otherwise you are using dhcp-relay and then there should be some indication 
from that, though haven't looked at any such setup so can't give examples for 
that.

Br,
Fredrik


Från: Dnsmasq-discuss  för 
Jimmy Vance 
Skickat: den 18 april 2018 18:18
Till: dnsmasq-discuss@lists.thekelleys.org.uk
Ämne: [Dnsmasq-discuss] help with 'tag' option for multiple subnets


I have a simple dnsmasq configuration that handles PXE for BIOS PXE as well as 
UEFI PXE and this works well. I need to add a second subnet and planned on 
using the same system to act as the DHCP server for both subnets. I know how to 
add a tag to options, but for UEFI I already have a tag set, and cannot figure 
out how to add the proper tags to have these options serve both subnets properly

Current config

dhcp-range=set:subnet1,172.16.17.100,172.16.17.254,1d
dhcp-option=tag:subnet1,3,172.16.17.1
# BIOS ipv4 PXE
dhcp-boot=pxelinux.0,reposerver,172.16.17.15
# UEFI ipv4 PXE
dhcp-match=set:efi-x86_64,option:client-arch,7
dhcp-boot=tag:efi-x86_64,EFI/bootx64.efi,reposerver,172.16.17.15


Adding additional subnet

dhcp-range=set:subnet1,172.16.17.100,172.16.17.254,1d
dhcp-option=tag:subnet1,3,172.16.17.1
dhcp-range=set:subnet2,192.168.17.100,192.168.17.254,1d
dhcp-option=tag:subnet2,3,192.168.17.1

# BIOS ipv4 PXE
dhcp-boot=tag:subnet1,pxelinux.0,reposerver,172.16.17.15
dhcp-boot=tag:subnet2,pxelinux.0,reposerver,192.168.17.15

# UEFI ipv4 PXE
dhcp-match=set:efi-x86_64,option:client-arch,7
dhcp-boot=tag:efi-x86_64,EFI/bootx64.efi,reposerver,172.16.17.15


I haven't had any luck running across a similar configuration that explains how 
to handle the existing tag in the UEFI section so I can specify different IP 
addresses for each subnet.

Any ideas or suggestions welcomed

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem

2018-03-09 Thread Lindgren Fredrik
Thanks.


Have downloaded latest from your repo and tested it on my setup as well

/Fredrik


Från: Simon Kelley <si...@thekelleys.org.uk>
Skickat: den 8 mars 2018 19:53
Till: Lindgren Fredrik; dnsmasq-discuss@lists.thekelleys.org.uk
Ämne: Re: SV: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem

Found the problem. Patch here.

http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=4f7bb57e9747577600b3d385e0e3418ec17e73e0


Thanks for reporting this.


Cheers,

Simon.


On 07/03/18 15:38, Lindgren Fredrik wrote:
> OK.
>
>
> Here are the config options I use in case it has any impact
>
>
> dnsmasq.conf:
>
> port=0
> no-resolv
> no-poll
> interface=eq-mgmt
> bind-interfaces
> no-hosts
> dhcp-range=10.243.0.50,10.243.255.254,255.255.0.0,10m
> dhcp-option=3
> dhcp-option=12
> dhcp-option=option:ntp-server,10.243.0.2,10.243.0.3
> enable-tftp
> tftp-root=/var/tftpboot
> tftp-secure
> dhcp-script=/bin/echo
> log-dhcp
> dhcp-optsdir=/etc/dnsmasq.d/opts/
>
>
> Adding/removing line "option:router,10.243.0.1" to option file in the
> opts dir.
>
>
> Br,
> Fredrik
>
> 
> *Från:* Dnsmasq-discuss
> <dnsmasq-discuss-boun...@lists.thekelleys.org.uk> för Simon Kelley
> <si...@thekelleys.org.uk>
> *Skickat:* den 7 mars 2018 13:43
> *Till:* dnsmasq-discuss@lists.thekelleys.org.uk
> *Ämne:* Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem
>
> OK, sounds like there may be a bug. I'll try and reproduce this in the
> next day or two.
>
> Cheers,
>
> Simon.
>
> On 07/03/18 11:39, Lindgren Fredrik wrote:
>> I'm doing verification after removal in same way as when I add it, hence
>> debug output from dnsmasq process and dhcpdump capture
>>
>>
>> /Fredrik
>>
>>
>> 
>> *Från:* Dnsmasq-discuss
>> <dnsmasq-discuss-boun...@lists.thekelleys.org.uk> för Andy Hawkins
>> <a...@gently.org.uk>
>> *Skickat:* den 7 mars 2018 11:13
>> *Till:* dnsmasq-discuss@lists.thekelleys.org.uk
>> *Ämne:* Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem
>>
>> Hi,
>>
>> In article
>> <he1pr0401mb2313f920fec799628c3694ca8c...@he1pr0401mb2313.eurprd04.prod.outlook.com>,
>>Lindgren Fredrik<fredrik.lindg...@tieto.com> wrote:
>>> What I did to test this was to add "option:router,10.243.0.1" to a new opti=
>>> on file.
>>>
>>> Which is re-read by dnsmasq
>>>
>>>
>>> I start a dhclient that I'm testing with, output in console of dnsmasq indi=
>>> cate that router entry is part of response (also seen in dhcpdump of packag=
>>> e)
>>>
>>> I stop the dhclient and remove the config file with this option and send SI=
>>> GHUP to pid for dnsmasq
>>>
>>> Then start the dhclient again and still see the router entry being sent.
>>
>> When you say "still see the router entry being sent" are you just checking
>> the resulting IP configuration on the client, or are you actually capturing
>> the DHCP response with Wireshark or similar?
>>
>> If you haven't captured the actual response on the wire, that'd be my next
>> step to see if it's the client that's somehow remembering the information.
>>
>> Andy
>>
>>
>> ___
>> Dnsmasq-discuss mailing list
>> Dnsmasq-discuss@lists.thekelleys.org.uk
>> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Dnsmasq-discuss Info 
Page<http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss>
lists.thekelleys.org.uk
A list for discussion about the dnsmasq DNS and DHCP server. Configuration, 
bugs and development. To control spam, only subscribers are allowed to post to 
the list.



>> Dnsmasq-discuss Info Page
>> <http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss>
Dnsmasq-discuss Info 
Page<http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss>
lists.thekelleys.org.uk
A list for discussion about the dnsmasq DNS and DHCP server. Configuration, 
bugs and development. To control spam, only subscribers are allowed to post to 
the list.



>> lists.thekelleys.org.uk
>> A list for discussion about the dnsmasq DNS and DHCP server.
>> Configuration, bugs and development. To control spam, only subscribers
>> are allowed to post to the list.
>>
>>
>>
>>
>>
>> 

Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem

2018-03-07 Thread Lindgren Fredrik
OK.


Here are the config options I use in case it has any impact


dnsmasq.conf:

port=0
no-resolv
no-poll
interface=eq-mgmt
bind-interfaces
no-hosts
dhcp-range=10.243.0.50,10.243.255.254,255.255.0.0,10m
dhcp-option=3
dhcp-option=12
dhcp-option=option:ntp-server,10.243.0.2,10.243.0.3
enable-tftp
tftp-root=/var/tftpboot
tftp-secure
dhcp-script=/bin/echo
log-dhcp
dhcp-optsdir=/etc/dnsmasq.d/opts/



Adding/removing line "option:router,10.243.0.1" to option file in the opts dir.

Br,
Fredrik


Från: Dnsmasq-discuss <dnsmasq-discuss-boun...@lists.thekelleys.org.uk> för 
Simon Kelley <si...@thekelleys.org.uk>
Skickat: den 7 mars 2018 13:43
Till: dnsmasq-discuss@lists.thekelleys.org.uk
Ämne: Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem

OK, sounds like there may be a bug. I'll try and reproduce this in the
next day or two.

Cheers,

Simon.

On 07/03/18 11:39, Lindgren Fredrik wrote:
> I'm doing verification after removal in same way as when I add it, hence
> debug output from dnsmasq process and dhcpdump capture
>
>
> /Fredrik
>
>
> 
> *Från:* Dnsmasq-discuss
> <dnsmasq-discuss-boun...@lists.thekelleys.org.uk> för Andy Hawkins
> <a...@gently.org.uk>
> *Skickat:* den 7 mars 2018 11:13
> *Till:* dnsmasq-discuss@lists.thekelleys.org.uk
> *Ämne:* Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem
>
> Hi,
>
> In article
> <he1pr0401mb2313f920fec799628c3694ca8c...@he1pr0401mb2313.eurprd04.prod.outlook.com>,
>Lindgren Fredrik<fredrik.lindg...@tieto.com> wrote:
>> What I did to test this was to add "option:router,10.243.0.1" to a new opti=
>> on file.
>>
>> Which is re-read by dnsmasq
>>
>>
>> I start a dhclient that I'm testing with, output in console of dnsmasq indi=
>> cate that router entry is part of response (also seen in dhcpdump of packag=
>> e)
>>
>> I stop the dhclient and remove the config file with this option and send SI=
>> GHUP to pid for dnsmasq
>>
>> Then start the dhclient again and still see the router entry being sent.
>
> When you say "still see the router entry being sent" are you just checking
> the resulting IP configuration on the client, or are you actually capturing
> the DHCP response with Wireshark or similar?
>
> If you haven't captured the actual response on the wire, that'd be my next
> step to see if it's the client that's somehow remembering the information.
>
> Andy
>
>
> ___
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss@lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> Dnsmasq-discuss Info Page
> <http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss>
> lists.thekelleys.org.uk
> A list for discussion about the dnsmasq DNS and DHCP server.
> Configuration, bugs and development. To control spam, only subscribers
> are allowed to post to the list.
>
>
>
>
>
> ___
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss@lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem

2018-03-07 Thread Lindgren Fredrik
Ease of Use from my side due to internal test environment where I work, where I 
have 1 command to stop/start remote instance.


Can say that new clients (mac address never given ip from dnsmasq before) get 
the router entry that I removed from config before it did it's first request

Br,
Fredrik


Från: Dnsmasq-discuss <dnsmasq-discuss-boun...@lists.thekelleys.org.uk> för 
john doe <johndoe65...@mail.com>
Skickat: den 7 mars 2018 13:10
Till: dnsmasq-discuss@lists.thekelleys.org.uk
Ämne: Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem

On 3/7/2018 8:19 AM, Lindgren Fredrik wrote:
> What I did to test this was to add "option:router,10.243.0.1" to a new option 
> file.
>
> Which is re-read by dnsmasq
>
>
> I start a dhclient that I'm testing with, output in console of dnsmasq 
> indicate that router entry is part of response (also seen in dhcpdump of 
> package)
>
> I stop the dhclient and remove the config file with this option and send 
> SIGHUP to pid for dnsmasq
>

Why stopping dhclient and not releasing the lease?:

$ dhclient -r  && dhclient 


--
John Doe

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Dnsmasq-discuss Info 
Page<http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss>
lists.thekelleys.org.uk
A list for discussion about the dnsmasq DNS and DHCP server. Configuration, 
bugs and development. To control spam, only subscribers are allowed to post to 
the list.



___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem

2018-03-07 Thread Lindgren Fredrik
I'm doing verification after removal in same way as when I add it, hence debug 
output from dnsmasq process and dhcpdump capture


/Fredrik



Från: Dnsmasq-discuss <dnsmasq-discuss-boun...@lists.thekelleys.org.uk> för 
Andy Hawkins <a...@gently.org.uk>
Skickat: den 7 mars 2018 11:13
Till: dnsmasq-discuss@lists.thekelleys.org.uk
Ämne: Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem

Hi,

In article 
<he1pr0401mb2313f920fec799628c3694ca8c...@he1pr0401mb2313.eurprd04.prod.outlook.com>,
       Lindgren Fredrik<fredrik.lindg...@tieto.com> wrote:
> What I did to test this was to add "option:router,10.243.0.1" to a new opti=
> on file.
>
> Which is re-read by dnsmasq
>
>
> I start a dhclient that I'm testing with, output in console of dnsmasq indi=
> cate that router entry is part of response (also seen in dhcpdump of packag=
> e)
>
> I stop the dhclient and remove the config file with this option and send SI=
> GHUP to pid for dnsmasq
>
> Then start the dhclient again and still see the router entry being sent.

When you say "still see the router entry being sent" are you just checking
the resulting IP configuration on the client, or are you actually capturing
the DHCP response with Wireshark or similar?

If you haven't captured the actual response on the wire, that'd be my next
step to see if it's the client that's somehow remembering the information.

Andy


___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Dnsmasq-discuss Info 
Page<http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss>
lists.thekelleys.org.uk
A list for discussion about the dnsmasq DNS and DHCP server. Configuration, 
bugs and development. To control spam, only subscribers are allowed to post to 
the list.



___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem

2018-03-06 Thread Lindgren Fredrik
What I did to test this was to add "option:router,10.243.0.1" to a new option 
file.

Which is re-read by dnsmasq


I start a dhclient that I'm testing with, output in console of dnsmasq indicate 
that router entry is part of response (also seen in dhcpdump of package)

I stop the dhclient and remove the config file with this option and send SIGHUP 
to pid for dnsmasq

Then start the dhclient again and still see the router entry being sent.


Also tried same flow but comment out the option:router line instead of removing 
the file, which gave same result.


Br,

Fredrik


Från: Dnsmasq-discuss <dnsmasq-discuss-boun...@lists.thekelleys.org.uk> för 
Simon Kelley <si...@thekelleys.org.uk>
Skickat: den 7 mars 2018 00:36
Till: dnsmasq-discuss@lists.thekelleys.org.uk
Ämne: Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem

Sending SIGHUP _should_ force all options to be deleted and re-read.

When you say the entries are not removed, how are you measuring this?
It's quite likely that a DHCP client, having been sent an option, will
continue you using it whilst the least is renewed, even if the DHCP
server stops sending the option in renewals.

Cheers,

Simon.



On 05/03/18 15:58, Lindgren Fredrik wrote:
> Hi,
>
>
> I'm using the option: "dhcp-optsdir=/etc/dnsmasq.d/opts/" in
> dnsmasq.conf file
>
> This works fine when I add or change options.
>
> Problem I'm having is when I remove a entry in a options file or remove
> a file completely (include sending SIGHUP to process)
>
> Then entries aren't removed
>
> Is this expected behavior or am I missing some option to dnsmasq?
>
>
> cmd line to start dnsmasq: "/usr/sbin/dnsmasq -x
> /var/run/dnsmasq/dnsmasq.pid -u dnsmasq -k -8 -"
>
> Version is: Dnsmasq version 2.75 (provided with ubuntu 16.04)
>
>
> Br,
>
> Fredrik
>
>
>
> ___
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss@lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Dnsmasq-discuss Info 
Page<http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss>
lists.thekelleys.org.uk
A list for discussion about the dnsmasq DNS and DHCP server. Configuration, 
bugs and development. To control spam, only subscribers are allowed to post to 
the list.



>


___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Dnsmasq-discuss Info 
Page<http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss>
lists.thekelleys.org.uk
A list for discussion about the dnsmasq DNS and DHCP server. Configuration, 
bugs and development. To control spam, only subscribers are allowed to post to 
the list.



___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


[Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem

2018-03-05 Thread Lindgren Fredrik
Hi,


I'm using the option: "dhcp-optsdir=/etc/dnsmasq.d/opts/" in dnsmasq.conf file

This works fine when I add or change options.

Problem I'm having is when I remove a entry in a options file or remove a file 
completely (include sending SIGHUP to process)

Then entries aren't removed

Is this expected behavior or am I missing some option to dnsmasq?


cmd line to start dnsmasq: "/usr/sbin/dnsmasq -x /var/run/dnsmasq/dnsmasq.pid 
-u dnsmasq -k -8 -"

Version is: Dnsmasq version 2.75 (provided with ubuntu 16.04)


Br,

Fredrik
___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss