Re: Help requested for zone delegation using DLZ
"Michael J. Ayers" <[email protected]> Fri, 15 Oct 2010 15:50:51 -0700
| Newsgroups | gmane.network.dns.bind9.dlz |
|---|---|
| Message-ID | <[email protected]> |
I garbaged up the earlier email. Cut and paste occasionally can blow up...
I finally solved this tricky little problem with no code modification on
bind 9.5 and up (it should work for earlier versions but I do not have any
instances deployed anywhere). To get this to work you need to perform the
following:
On Server A:
Create an NS record for us.example.com and an A record for the nameserver in
the parent (example.com) domain you will be delegating the subdomain to.
zone host type data ttl
mx_priority refresh retry expire minimum serial
resp_person
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
example.com us NS ns10.example.com. 300 NULL
NULL NULL NULL NULL NULL
NULL
example.com ns10 A 192.168.0.10 86400 NULL
NULL NULL NULL NULL NULL
NULL
On Server B:
Create an SOA record for us.example.com, an NS record for
us.boingo.comcontaining the ns10 server entry, and your new A record
entries.
zone host type data ttl
mx_priority refresh retry expire minimum serial
resp_person
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
us.example.com @ SOA ns10.example.com. 86400 NULL
7200 600 86400 3600 1287000000
hostmaster.example.com.
us.example.com us.example.com NS ns10.example.com. 300 NULL
NULL NULL NULL NULL NULL
NULL
us.example.com www A 192.168.0.110 86400 NULL
NULL NULL NULL NULL NULL
NULL
us.example.com ftp A 192.168.0.111 86400 NULL
NULL NULL NULL NULL NULL
NULL
This actually works for setting up sub-domain delegation in BIND-DLZ. I
have tested it and verified working. Let me know if you have any questions.
Thanks,
Mike
On Fri, Nov 6, 2009 at 10:32 PM, Todd Lyons <[email protected]> wrote:
> 2009/11/6 Dominique DERRIER <[email protected]>:
> > For me it dosen't work, for a long time ago. It's the only trouble for
> me.
> > I've try to:
> > - Change database query
> > - Duplicate data with view to produce good data.
> > *Only bind with config file working fine with sub-delegation.
>
> Like Rob said, the logic that creates the glue happens before the
> query(ies) by DLZ. Without the answers that DLZ lookups provide, it
> can't create the glue. The solution will undoubtedly be to hack some
> DLZ code into the glue generation section.
>
> > ps: other software like Power DNS didn't work too, for complicate
> > sub-delegation.
>
> That's interesting, and an interesting metric. Is it a known
> limitation or is it possible that the config or data just needed
> tweaking?
> --
> Regards... Todd
> The best thing about pair programming is that you have the perfect
> audience for your genius. -- Kent Beck
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Bind-dlz-testers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bind-dlz-testers
>
--
Michael J. Ayers
Senior Systems Engineer
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Bind-dlz-testers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bind-dlz-testers