Re: Bind dlz mysql => subdomain delegation
dominique <[email protected]>
| Newsgroups | gmane.network.dns.bind9.dlz |
|---|---|
| Message-ID | <[email protected]> |
I understand ... but the SOA shoud be in the second server for delegation isn't it ? Server 1 is manage by test.com maintainer. Server 2 is manage by another person. On server 1: $ORIGIN test.com. @ SOA ns1.test.com. admin.test.com 3600 3600 600 3000 10 @ NS ns1.test.com. ns1 A 192.168.100.1 subns A 192.168.100.2 sub NS subns.test.com On serveur 2: $ORIGIN sub.test.com. @ SOA subns.test.com. admin.sub.test.com 27716 900 600 8600 3600 @ NS subns.test.com. www CNAME google.com. And this commande should work : dnstracer -s192.168.100.1 www.sub.test.com \_subns.test.com[sub.test.com] (192.168.100.2) Got authoritative answer Graham Weldon a écrit : > Allow me to extend the description from Graeme here. > > Consider a subdomain to be a complete separate, new domain. > Rather than jamming every domain that's going to serve major things into > one zone, split them out. > > So for subdomains that are just pointing to services (ns1.test.com) This > can just be an entry in the test.com zone. > > For subdomains that will have further subdomains, and will have mail > separate etc.. Split them out. > > Secondsite.test.com would be a complete separate entry in the DLZ > tables. > It would have its own NS entries, an SOA entry > MX Entries if you want to serve mail off it > And you can further add subdomains off that. > > I hope that helps :) > > Cheers, > > Graham Weldon > > Fluid Lino > (02) 4927 5337 > (0407) 017 293 > [email protected] > www.fluidlino.com.au > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of > Graeme Fowler > Sent: Tuesday, 19 February 2008 4:38 AM > To: [email protected] > Subject: Re: [Bind-dlz-testers] Bind dlz mysql => subdomain delegation > > On Mon, 2008-02-18 at 21:28 +0400, dominique wrote: >> 1) is it possible to use dlz for subdomain delegation > > Yes. > >> 2) have you got a working sample. > > No. > > However, in order to use subdomains you still need an SOA record for the > subdomain. Without that, the DLZ drivers will throw an error like the > one you saw. > > Graeme > > > ------------------------------------------------------------------------ > - > This SF.net email is sponsored by: Microsoft Defy all challenges. > Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Bind-dlz-testers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/bind-dlz-testers > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/