HS zone xfer fails with formerr with bind9
Mark.Andrews at nominum.com
Mark.Andrews at nominum.com
Wed Jun 6 13:25:34 UTC 2001
>
> So replacing the master is the only hope? I'm in the
> process of moving the master anyway (the old one will
> be gone completely this summer) but it's going to be
> a slightly prolonged transition and this is causing
> some difficulty. Thanks for the info. I'll look at
> the possibility of moving to 9 on the current master.
>
> Thanks,
> Jeff
Index: bind9/lib/dns/xfrin.c
diff -u bind9/lib/dns/xfrin.c:1.109.2.3 bind9/lib/dns/xfrin.c:1.109.2.4
--- bind9/lib/dns/xfrin.c:1.109.2.3 Sun May 13 20:22:05 2001
+++ bind9/lib/dns/xfrin.c Tue Jun 5 17:11:57 2001
@@ -526,6 +526,13 @@
break;
case XFRST_AXFR:
+ /*
+ * Old BIND's sent cross class A records for non IN classes.
+ */
+ if (rdata->type == dns_rdatatype_a &&
+ rdata->rdclass != xfr->rdclass &&
+ xfr->rdclass != dns_rdataclass_in)
+ break;
CHECK(axfr_putdata(xfr, DNS_DIFFOP_ADD, name, ttl, rdata));
if (rdata->type == dns_rdatatype_soa) {
CHECK(axfr_commit(xfr));
>
> Mark.Andrews at nominum.com wrote:
> >
> > >
> > > I've been having trouble getting any version of bind9
> > > to transfer an HS class zone as a slave from pre 9
> > > versions of bind. It works fine in the other direction
> > > and IN class zones work in both directions. I'm just
> > > wondering if anyone else has seen this or if it's just
> > > something I'm doing wrong. I don't know how I could be
> > > causing a FORMERR though.
> > >
> > > Thanks,
> > > Jeff
> > >
> > The master is most probably sending cross class glue.
> > We could teach named to ignore it or you could upgrade
> > the master as it needs upgrading.
> >
> > Mark
> >
> > P.S. modern BIND 8's don't send cross class glue.
> > --
> > Mark Andrews, Nominum Inc.
> > 1 Seymour St., Dundas Valley, NSW 2117, Australia
> > PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews at nominum.com
>
--
Mark Andrews, Nominum Inc.
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews at nominum.com
More information about the bind-users
mailing list