dns_master_load issues
Mark Andrews
Mark_Andrews at isc.org
Wed Aug 17 01:17:57 UTC 2005
> Mark Andrews wrote:
>
> >>> You can use DNAME for one of the zones.
> >>
> >>I just read about those records (hadn't really used them before). I
> >>tried doing a few things with DNAME records and it doesn't seem to like
> >>applying these to ORIGINS that are set. i.e.:
> >>
> >>For the foo.example zone (bar.example being the other one)
> >>
> >> IN DNAME foo.example.
> >>$ORIGIN blah.bar.example.
> >>
> >>It complains about out-of-zone data with that. Or is there another way
> >>to use DNAMEs to make it work the way I'd like? I'm sure that I'm
> >>probably not using the right syntax or something :)
> >
> >
> > One zone would be just.
> >
> > @ SOA ...
> > @ NS ...
> > @ MX ...
> > @ A ...
> > @ AAAA ...
> > @ DNAME <otherzone>
> >
> > Lookups in this zone would be converted to CNAMES on the fly
> > by the nameservers.
> >
> > e.g.
> >
> > ; <<>> DiG 8.3 <<>> e.a.e.e.f.9.e.f.f.f.4.7.8.0.2.0.0.2.8.0.0.0.f.1.0.7.4.0
> .1.0.0.2.ip6.int ptr
> > ;; res options: init recurs defnam dnsrch
> > ;; got answer:
> > ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9691
> > ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 2, ADDITIONAL: 0
> > ;; QUERY SECTION:
> > ;; e.a.e.e.f.9.e.f.f.f.4.7.8.0.2.0.0.2.8.0.0.0.f.1.0.7.4.0.1.0.0.2.ip6.int
> , type = PTR, class = IN
> >
> > ;; ANSWER SECTION:
> > 0.2.8.0.0.0.f.1.0.7.4.0.1.0.0.2.ip6.int. 1H IN DNAME 0.2.8.0.0.0.f.1.0.7.
> 4.0.1.0.0.2.ip6.arpa.
> > e.a.e.e.f.9.e.f.f.f.4.7.8.0.2.0.0.2.8.0.0.0.f.1.0.7.4.0.1.0.0.2.ip6.int. 0
> S IN CNAME e.a.e.e.f.9.e.f.f.f.4.7.8.0.2.0.0.2.8.0.0.0.f.1.0.7.4.0.1.0.0.2.i
> p6.arpa.
> > e.a.e.e.f.9.e.f.f.f.4.7.8.0.2.0.0.2.8.0.0.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa.
> 1H IN PTR drugs.dv.isc.org.
> >
> > ;; AUTHORITY SECTION:
> > 0.2.8.0.0.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa. 1H IN NS ns-ext.vix.com.
> > 0.2.8.0.0.0.f.1.0.7.4.0.1.0.0.2.ip6.arpa. 1H IN NS ns-int.vix.com.
> >
> > ;; Total query time: 0 msec
> > ;; FROM: drugs.dv.isc.org to SERVER: 127.0.0.1
> > ;; WHEN: Wed Aug 17 08:17:17 2005
> > ;; MSG SIZE sent: 89 rcvd: 268
>
> Ah yes, I did figure this out myself earlier today. The only question I
> have left is if there's any sort of compatibility issues I should know
> about switching a domain to using DNAME? I think I saw one post among
> the internet talking about win2k shipping out supporting the RFC behind
> this. I tried looking it up again and couldn't find it.
The only requirement is that all the authoritative servers for the
zone support DNAME. This means BIND 9 not BIND 8.
> >>> You can use multiple labels for the owners names, etc. and
> >>> not use $ORIGIN.
> >>
> >>Could you elaborate more on this? I'm not quite following what you're
> >>suggesting here.
> >
> >
> > foo.bar A 1.12.4.5
> > xxx.yyy A 1.12.3.4
>
> Yup, thanks!
>
> --
> Lance Albertson <lance at ksu.edu>
> Unix System Administrator Kansas State University
> Computing and Networking Services Enterprise Server Technologies
> Work: 532-3067 PGP Key: 0x27F4B742
> GPG Fingerprint 0423 92F3 544A 1282 5AB1 4D07 416F A15D 27F4 B742
>
>
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews at isc.org
More information about the bind-users
mailing list