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

Lindgren Fredrik Fredrik.Lindgren at tieto.com
Wed Mar 7 12:47:26 GMT 2018


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-bounces at lists.thekelleys.org.uk> för john doe <johndoe65534 at mail.com>
Skickat: den 7 mars 2018 13:10
Till: dnsmasq-discuss at 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 <INT-NAME> && dhclient <INT_-NAME>


--
John Doe

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss at 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.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20180307/0dea0b4e/attachment.html>


More information about the Dnsmasq-discuss mailing list