<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jun 30, 2015 at 4:03 AM, <a href="mailto:wkitty42@gmail.com">wkitty42@gmail.com</a> <span dir="ltr"><<a href="mailto:wkitty42@gmail.com" target="_blank">wkitty42@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class=""><br>
On 06/29/2015 04:01 PM, Michał Lipka wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">
<br>
2015-06-25 16:02 GMT+02:00 <a href="mailto:wkitty42@gmail.com" target="_blank">wkitty42@gmail.com</a><br></span><span class="">
does breaking the line work?<br>
<br>
eg:<br>
dhcp-option=249,<a href="http://10.0.0.1/32,1.2.3.4,192.168.13.15/32,1.2.3.4" rel="noreferrer" target="_blank">10.0.0.1/32,1.2.3.4,192.168.13.15/32,1.2.3.4</a><br></span>
<<a href="http://10.0.0.1/32,1.2.3.4,192.168.13.15/32,1.2.3.4" rel="noreferrer" target="_blank">http://10.0.0.1/32,1.2.3.4,192.168.13.15/32,1.2.3.4</a>>, \<br>
<a href="http://192.168.13.16/32,1.2.3.4,192.168.13.17/32,1.2.3.4" rel="noreferrer" target="_blank">192.168.13.16/32,1.2.3.4,192.168.13.17/32,1.2.3.4</a><br>
<<a href="http://192.168.13.16/32,1.2.3.4,192.168.13.17/32,1.2.3.4" rel="noreferrer" target="_blank">http://192.168.13.16/32,1.2.3.4,192.168.13.17/32,1.2.3.4</a>>, \<br>
<a href="http://192.168.13.18/32,1.2.3.4,192.168.13.19/32,1.2.3.4" rel="noreferrer" target="_blank">192.168.13.18/32,1.2.3.4,192.168.13.19/32,1.2.3.4</a><br>
<<a href="http://192.168.13.18/32,1.2.3.4,192.168.13.19/32,1.2.3.4" rel="noreferrer" target="_blank">http://192.168.13.18/32,1.2.3.4,192.168.13.19/32,1.2.3.4</a>>, \<br>
<a href="http://192.168.13.20/32,1.2.3.4" rel="noreferrer" target="_blank">192.168.13.20/32,1.2.3.4</a> <<a href="http://192.168.13.20/32,1.2.3.4" rel="noreferrer" target="_blank">http://192.168.13.20/32,1.2.3.4</a>><span class=""><br>
<br>
<br>
Thank you for this idea. Unfortunately it does not work. dnsmasq fails at first<br>
line which has no option:<br>
</span></blockquote>
<br>
sounds like an option that should maybe be implemented... especially since it is an apparent standard that so many tools do follow ;)<br><div class=""><div></div></div></blockquote><div>I think dnsmasq has a 1024 characters for config lines. I browsed the source briefly last night but couldn't find it.<br></div><div>Anyway, I too hit this when I configure dummy zones to return NXDOMAIN. What I do to get around this is to use mutliple directives, e.g.:<br></div><div>server=/<a href="http://doubleclick.net/...bla">doubleclick.net/...bla</a> bla bla bla bla /<br></div><div>server=/nextline.goes.here/more.domains.to.return.nxdomain.for/<br><br></div><div>Would it work if you did something similar:<br></div><div>dhcp-option=249,routes go here,routes go here,<br></div><div>dhcp-option=249,more routes go here,...<br>dhcp-option=249,even more routes go here,...<br><br></div><div>So that each line is less than 1024 characters?<br></div><div><br></div><div>Best regards,<br></div><div>Maciej<br><br></div><br></div></div></div>