Discussion:
[Dnsmasq-discuss] Delegate zone for sub-domain
Thomas Eliasson
2015-03-26 15:06:07 UTC
Permalink
Hi!

When running dnsmasq, I'd like to delegate a sub-domain to another
dnsmasq
instance on another server.

E.g.
To have one server handle example.com and another server to handle the
sub-domain sub.example.com.

To do this one should add an NS record to the delegating server (the
nameserver for example.com) pointing out the sub-domain nameserver,
and an A record for the nameserver address resolution.
I.e two entries like this:

sub.example.com IN NS ns.sub.example.com
ns.sub.example.com IN A 10.10.10.10

I cannot figure out how to do that using dnsmasq.
I find no way to add an NS entry.
Is it currently impossible to do such a delegation using dnsmasq?

/Thomas


<P><p><font face="Arial, Helvetica, sans-serif" size="2" 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>
Kyle Manna
2015-03-26 16:29:09 UTC
Permalink
Checkout the `--server` option in the dnsmasq man page. I think it does
almost exactly what you want.
Hi!
When running dnsmasq, I'd like to delegate a sub-domain to another dnsmasq
instance on another server.
E.g.
To have one server handle example.com and another server to handle the
sub-domain sub.example.com.
To do this one should add an NS record to the delegating server (the
nameserver for example.com) pointing out the sub-domain nameserver,
and an A record for the nameserver address resolution.
sub.example.com IN NS ns.sub.example.com
ns.sub.example.com IN A 10.10.10.10
I cannot figure out how to do that using dnsmasq.
I find no way to add an NS entry.
Is it currently impossible to do such a delegation using dnsmasq?
/Thomas
_______________________________________________________________
Annons: Handla enkelt och smidigt hos Clas Ohlson
<http://www.dpbolvw.net/click-5762941-10771045>
_______________________________________________
Dnsmasq-discuss mailing list
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
Loading...