Thanks for the answer. One more question. During high performance runs using my dig command, sometimes my pipe backend recieves queries Q AXFR -1. Is there a way to disable that. My current AXFR configurations in pdns.conf
allow-axfr-ips (this is commented) disable-axfr=yes disable-axfr-rectify=yes Thanks, Sumit On Tue, Feb 24, 2015 at 6:36 PM, Aki Tuomi <[email protected]> wrote: > But there is a reason why it's sometimes in either one, there is no sense > in trying to fix this for consistency. > > SOA record goes in ANSWER section, when you ask for SOA record (or ANY). > > SOA record goes in AUTHORITY section, when a record is not found in the > zone. > > Aki > > On Tue, Feb 24, 2015 at 04:21:28PM +0530, sumit sharma wrote: > > Hi Aki, > > > > I want the SOA record that i am sending from the backend to come in the > > AUTHORITY section of dig response. > > Sometimes SOA record comes in AUTHORITY SECTION. But mostly it comes in > > ANSWER SECTION. I want the response to be consistent. A and TXT records > > always comes as expected in ANSWER SECTION. > > Hence from dig, sometimes i get 1 authority & 2 answers but mostly i get > 0 > > authority and 3 answers > > > > Regards, > > Sumit > > > > On Tue, Feb 24, 2015 at 3:20 PM, Aki Tuomi <[email protected]> > wrote: > > > > > On Tue, Feb 24, 2015 at 02:59:19PM +0530, sumit sharma wrote: > > > > Hi All, > > > > > > > > I am currently using the pipe backend to server powerdns response. > > > > I am trying to make powerdns as all authoritative server. > > > > > > > > dig query -> dig ANY subdomain.mydomain.com > > > > > > > > I am sending the following response to powerdns > > > > 1. pdns requests for SOA record > > > > 2. I send back > > > > subdomain.mydomain.com. 0 IN SOA ahu.mydomain.com. > ns1.mydomain.com > > > . > > > > 2008080300 1800 3600 604800 3600 > > > > 3. pdns requests for ANY record > > > > 4. I send back A & TXT records. > > > > > > > > I see the SOA record coming in ANSWER SECTION of dig query response. > > > > I want to make it come to AUTHORITY SECTION. > > > > > > > > What can i do to make it happen? > > > > > > > > Thanks, > > > > Sumit > > > > > > Why exactly do you want it in AUTHORITY SECTION? > > > > > > Aki > > > > > > > _______________________________________________ > > > > Pdns-users mailing list > > > > [email protected] > > > > http://mailman.powerdns.com/mailman/listinfo/pdns-users > > > > > > >
_______________________________________________ Pdns-users mailing list [email protected] http://mailman.powerdns.com/mailman/listinfo/pdns-users
