The ADDITIONAL is section different than BIND's answer, why?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-My server is not answering with a verbose "ADDITIONAL SECTION" that includes A records for the namservers of the domain queried
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The PowerDNS Authoritative Server by default does not 'trust' other zones in its own database.
-You may want to add :ref:`setting-out-of-zone-additional-processing` to ``yes`` in your configuration to tell it to do so.
-If the domain your nameservers are in are known to the backend they will now be included in the additional section.
PowerDNS does not give authoritative answers, how come?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
``out-of-zone-additional-processing``
-------------------------------------
+.. versionchanged:: 4.2.0
+ This setting has been removed.
+
- Boolean
- Default: yes
::arg().set("webserver-password","Password required for accessing the webserver")="";
::arg().set("webserver-allow-from","Webserver/API access is only allowed from these subnets")="127.0.0.1,::1";
- ::arg().setSwitch("out-of-zone-additional-processing","Do out of zone additional processing")="yes";
::arg().setSwitch("do-ipv6-additional-processing", "Do AAAA additional processing")="yes";
::arg().setSwitch("query-logging","Hint backends that queries should be logged")="no";
lookup = getRR<NSRecordContent>(i->dr)->getNS();
else
continue;
+
B.lookup(QType(d_doIPv6AdditionalProcessing ? QType::ANY : QType::A), lookup, p);
while(B.get(rr)) {
if(rr.dr.d_type != QType::A && rr.dr.d_type!=QType::AAAA)
continue;
- if(rr.domain_id!=i->domain_id && ::arg()["out-of-zone-additional-processing"]=="no") {
- DLOG(g_log<<Logger::Warning<<"Not including out-of-zone additional processing of "<<i->dr.d_name<<" ("<<rr.dr.d_name<<")"<<endl);
+ if(rr.domain_id!=i->domain_id || !rr.dr.d_name.isPartOf(soadata.qname)) {
+ // FIXME we might still pass on the record if it is occluded and the
+ // backend does not report a different ID
continue; // not adding out-of-zone additional data
}
-
- if(rr.auth && !rr.dr.d_name.isPartOf(soadata.qname)) // don't sign out of zone data using the main key
- rr.auth=false;
rr.dr.d_place=DNSResourceRecord::ADDITIONAL;
toAdd.push_back(rr);
}