<div dir="ltr">Checkout the `--server` option in the dnsmasq man page. I think it does almost exactly what you want.<br></div><br><div class="gmail_quote">On Thu, Mar 26, 2015 at 8:12 AM Thomas Eliasson <<a href="mailto:theliass@passagen.se">theliass@passagen.se</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
Hi!<br>
<br>
When running dnsmasq, I'd like to delegate a sub-domain to another dnsmasq <br>
instance on another server.<br>
<br>
E.g.<br>
To have one server handle <a href="http://example.com" target="_blank">example.com</a> and another server to handle the <br>
sub-domain <a href="http://sub.example.com" target="_blank">sub.example.com</a>.<br>
<br>
To do this one should add an NS record to the delegating server (the<br>
nameserver for <a href="http://example.com" target="_blank">example.com</a>) pointing out the sub-domain nameserver,<br>
and an A record for the nameserver address resolution. <br>
I.e two entries like this:<br>
<br>
<a href="http://sub.example.com" target="_blank">sub.example.com</a> IN NS <a href="http://ns.sub.example.com" target="_blank">ns.sub.example.com</a><br>
<a href="http://ns.sub.example.com" target="_blank">ns.sub.example.com</a> IN A 10.10.10.10<br>
<br>
I cannot figure out how to do that using dnsmasq.<br>
I find no way to add an NS entry.<br>
Is it currently impossible to do such a delegation using dnsmasq?<br>
<br>
/Thomas
</div>
<p><p><font face="Arial, Helvetica, sans-serif" style="font-size:13.5px">_______________________________________________________________<br>Annons: Handla enkelt och smidigt hos <a href="http://www.dpbolvw.net/click-5762941-10771045" target="_blank">Clas Ohlson</a><img src="http://www.lduhtrp.net/image-5762941-10771045" width="1" height="1" border="0"></font>______________________________<u></u>_________________<br>
Dnsmasq-discuss mailing list<br>
<a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk" target="_blank">Dnsmasq-discuss@lists.<u></u>thekelleys.org.uk</a><br>
<a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" target="_blank">http://lists.thekelleys.org.<u></u>uk/mailman/listinfo/dnsmasq-<u></u>discuss</a><br>
</p></p></blockquote></div>