From: Kees Monshouwer Date: Sat, 1 Nov 2014 22:15:04 +0000 (+0100) Subject: read ALLOW-AXFR-FROM from the backend with the metadata X-Git-Tag: auth-3.4.2~15^2~46 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c57433638a5432632757c9ed08997c03f061f772;p=pdns read ALLOW-AXFR-FROM from the backend with the metadata --- diff --git a/pdns/tcpreceiver.cc b/pdns/tcpreceiver.cc index 1594bb111..302b22dbc 100644 --- a/pdns/tcpreceiver.cc +++ b/pdns/tcpreceiver.cc @@ -428,7 +428,7 @@ bool TCPNameserver::canDoAXFR(shared_ptr q) // cerr<<"got backend and SOA"< acl; - B->getDomainMetadata(q->qdomain, "ALLOW-AXFR-FROM", acl); + s_P->getBackend()->getDomainMetadata(q->qdomain, "ALLOW-AXFR-FROM", acl); for (vector::const_iterator i = acl.begin(); i != acl.end(); ++i) { // cerr<<"matching against "<<*i<