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: rec-3.7.0-rc1~166^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=894bcf36415e36f1efb7734334c02a7ac439e73f;p=thirdparty%2Fpdns.git read ALLOW-AXFR-FROM from the backend with the metadata --- diff --git a/pdns/tcpreceiver.cc b/pdns/tcpreceiver.cc index 1594bb1110..302b22dbcb 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<