<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Thanks.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Have downloaded latest from your repo and tested it on my setup as well</p>
<div><br>
</div>
/Fredrik<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Från:</b> Simon Kelley <simon@thekelleys.org.uk><br>
<b>Skickat:</b> den 8 mars 2018 19:53<br>
<b>Till:</b> Lindgren Fredrik; dnsmasq-discuss@lists.thekelleys.org.uk<br>
<b>Ämne:</b> Re: SV: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Found the problem. Patch here.<br>
<br>
<a href="http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=4f7bb57e9747577600b3d385e0e3418ec17e73e0" id="LPlnk79736" previewremoved="true">http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=4f7bb57e9747577600b3d385e0e3418ec17e73e0</a><br>
<br>
<br>
Thanks for reporting this.<br>
<br>
<br>
Cheers,<br>
<br>
Simon.<br>
<br>
<br>
On 07/03/18 15:38, Lindgren Fredrik wrote:<br>
> OK.<br>
> <br>
> <br>
> Here are the config options I use in case it has any impact<br>
> <br>
> <br>
> dnsmasq.conf:<br>
> <br>
> port=0<br>
> no-resolv<br>
> no-poll<br>
> interface=eq-mgmt<br>
> bind-interfaces<br>
> no-hosts<br>
> dhcp-range=10.243.0.50,10.243.255.254,255.255.0.0,10m<br>
> dhcp-option=3<br>
> dhcp-option=12<br>
> dhcp-option=option:ntp-server,10.243.0.2,10.243.0.3<br>
> enable-tftp<br>
> tftp-root=/var/tftpboot<br>
> tftp-secure<br>
> dhcp-script=/bin/echo<br>
> log-dhcp<br>
> dhcp-optsdir=/etc/dnsmasq.d/opts/<br>
> <br>
> <br>
> Adding/removing line "option:router,10.243.0.1" to option file in the<br>
> opts dir.<br>
> <br>
> <br>
> Br,<br>
> Fredrik<br>
> <br>
> ------------------------------------------------------------------------<br>
> *Från:* Dnsmasq-discuss<br>
> <dnsmasq-discuss-bounces@lists.thekelleys.org.uk> för Simon Kelley<br>
> <simon@thekelleys.org.uk><br>
> *Skickat:* den 7 mars 2018 13:43<br>
> *Till:* dnsmasq-discuss@lists.thekelleys.org.uk<br>
> *Ämne:* Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem<br>
> <br>
> OK, sounds like there may be a bug. I'll try and reproduce this in the<br>
> next day or two.<br>
> <br>
> Cheers,<br>
> <br>
> Simon.<br>
> <br>
> On 07/03/18 11:39, Lindgren Fredrik wrote:<br>
>> I'm doing verification after removal in same way as when I add it, hence<br>
>> debug output from dnsmasq process and dhcpdump capture<br>
>> <br>
>> <br>
>> /Fredrik<br>
>> <br>
>> <br>
>> ------------------------------------------------------------------------<br>
>> *Från:* Dnsmasq-discuss<br>
>> <dnsmasq-discuss-bounces@lists.thekelleys.org.uk> för Andy Hawkins<br>
>> <andy@gently.org.uk><br>
>> *Skickat:* den 7 mars 2018 11:13<br>
>> *Till:* dnsmasq-discuss@lists.thekelleys.org.uk<br>
>> *Ämne:* Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem<br>
>> <br>
>> Hi,<br>
>> <br>
>> In article<br>
>> <HE1PR0401MB2313F920FEC799628C3694CA8CD80@HE1PR0401MB2313.eurprd04.prod.outlook.com>,<br>
>> Lindgren Fredrik<Fredrik.Lindgren@tieto.com> wrote:<br>
>>> What I did to test this was to add "option:router,10.243.0.1" to a new opti=<br>
>>> on file.<br>
>>><br>
>>> Which is re-read by dnsmasq<br>
>>><br>
>>><br>
>>> I start a dhclient that I'm testing with, output in console of dnsmasq indi=<br>
>>> cate that router entry is part of response (also seen in dhcpdump of packag=<br>
>>> e)<br>
>>><br>
>>> I stop the dhclient and remove the config file with this option and send SI=<br>
>>> GHUP to pid for dnsmasq<br>
>>><br>
>>> Then start the dhclient again and still see the router entry being sent.<br>
>> <br>
>> When you say "still see the router entry being sent" are you just checking<br>
>> the resulting IP configuration on the client, or are you actually capturing<br>
>> the DHCP response with Wireshark or similar?<br>
>> <br>
>> If you haven't captured the actual response on the wire, that'd be my next<br>
>> step to see if it's the client that's somehow remembering the information.<br>
>> <br>
>> Andy<br>
>> <br>
>> <br>
>> _______________________________________________<br>
>> Dnsmasq-discuss mailing list<br>
>> Dnsmasq-discuss@lists.thekelleys.org.uk<br>
>> <a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" id="LPlnk197037" previewremoved="true">
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a>
<div id="LPBorder_GT_15205811545960.42162344142844543" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_15205811545930.2691366557000803" role="presentation" cellspacing="0" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td id="TextCell_15205811545940.12629496576127286" colspan="2" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;">
<div id="LPRemovePreviewContainer_15205811545940.8913497913494777"></div>
<div id="LPTitle_15205811545940.9069631231380189" style="top: 0px; color: rgb(0, 1, 255); font-weight: 400; font-size: 21px; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_15205811545940.4877396197044277" href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" target="_blank" style="text-decoration: none;">Dnsmasq-discuss Info Page</a></div>
<div id="LPMetadata_15205811545940.860120623457155" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: 400; font-family: wf_segoe-ui_semibold, "Segoe UI Semibold", "Segoe WP Semibold", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 14px;">
lists.thekelleys.org.uk</div>
<div id="LPDescription_15205811545960.3658947941897508" style="display: block; color: rgb(102, 102, 102); font-weight: 400; font-family: wf_segoe-ui_semibold, "Segoe UI Semibold", "Segoe WP Semibold", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
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.</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
>> Dnsmasq-discuss Info Page<br>
>> <<a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" id="LPlnk643872" previewremoved="true">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a>>
<div id="LPBorder_GT_15205811841760.9091866926513497" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_15205811841700.8686197764638344" role="presentation" cellspacing="0" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td id="TextCell_15205811841710.8064360075396373" colspan="2" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;">
<div id="LPRemovePreviewContainer_15205811841720.25561252727727735"></div>
<div id="LPTitle_15205811841720.2779749205308253" style="top: 0px; color: rgb(0, 1, 255); font-weight: 400; font-size: 21px; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_15205811841720.7035286052463718" href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" target="_blank" style="text-decoration: none;">Dnsmasq-discuss Info Page</a></div>
<div id="LPMetadata_15205811841720.8714798168348048" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: 400; font-family: wf_segoe-ui_semibold, "Segoe UI Semibold", "Segoe WP Semibold", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 14px;">
lists.thekelleys.org.uk</div>
<div id="LPDescription_15205811841740.13937008191501077" style="display: block; color: rgb(102, 102, 102); font-weight: 400; font-family: wf_segoe-ui_semibold, "Segoe UI Semibold", "Segoe WP Semibold", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
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.</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
>> lists.thekelleys.org.uk<br>
>> A list for discussion about the dnsmasq DNS and DHCP server.<br>
>> Configuration, bugs and development. To control spam, only subscribers<br>
>> are allowed to post to the list.<br>
>> <br>
>> <br>
>> <br>
>> <br>
>> <br>
>> _______________________________________________<br>
>> Dnsmasq-discuss mailing list<br>
>> Dnsmasq-discuss@lists.thekelleys.org.uk<br>
>> <a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" id="LPlnk810279" previewremoved="true">
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a>
<div id="LPBorder_GT_15205811842070.3183015088708976" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_15205811842040.699414870917634" role="presentation" cellspacing="0" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td id="TextCell_15205811842050.4030554158143318" colspan="2" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;">
<div id="LPRemovePreviewContainer_15205811842050.2105968656978392"></div>
<div id="LPTitle_15205811842050.8772917923717112" style="top: 0px; color: rgb(0, 1, 255); font-weight: 400; font-size: 21px; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_15205811842060.36084634954987105" href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" target="_blank" style="text-decoration: none;">Dnsmasq-discuss Info Page</a></div>
<div id="LPMetadata_15205811842060.040488043954381325" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: 400; font-family: wf_segoe-ui_semibold, "Segoe UI Semibold", "Segoe WP Semibold", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 14px;">
lists.thekelleys.org.uk</div>
<div id="LPDescription_15205811842070.17171533215696777" style="display: block; color: rgb(102, 102, 102); font-weight: 400; font-family: wf_segoe-ui_semibold, "Segoe UI Semibold", "Segoe WP Semibold", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
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.</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
>> <br>
> <br>
> _______________________________________________<br>
> Dnsmasq-discuss mailing list<br>
> Dnsmasq-discuss@lists.thekelleys.org.uk<br>
> <a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" id="LPlnk479958" previewremoved="true">
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a>
<div id="LPBorder_GT_15205811843520.5074623508874547" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_15205811843470.3145879317747693" role="presentation" cellspacing="0" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td id="TextCell_15205811843480.7315277331213672" colspan="2" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;">
<div id="LPRemovePreviewContainer_15205811843490.9036831277075175"></div>
<div id="LPTitle_15205811843490.08083354422203115" style="top: 0px; color: rgb(0, 1, 255); font-weight: 400; font-size: 21px; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_15205811843490.5979528313210802" href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" target="_blank" style="text-decoration: none;">Dnsmasq-discuss Info Page</a></div>
<div id="LPMetadata_15205811843500.672989508006457" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: 400; font-family: wf_segoe-ui_semibold, "Segoe UI Semibold", "Segoe WP Semibold", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 14px;">
lists.thekelleys.org.uk</div>
<div id="LPDescription_15205811843510.4174305174609676" style="display: block; color: rgb(102, 102, 102); font-weight: 400; font-family: wf_segoe-ui_semibold, "Segoe UI Semibold", "Segoe WP Semibold", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
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.</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
<br>
</div>
</span></font></div>
</div>
</div>
</body>
</html>