<div dir="ltr">Thanks for the answer. One more question.<div>During high performance runs using my dig command, sometimes my pipe backend recieves queries Q AXFR -1.</div><div>Is there a way to disable that.</div><div>My current AXFR configurations in pdns.conf</div><div>







<p class="">allow-<span class="">axfr</span>-<span class="">ips (this is commented)</span></p><p class=""><span class="">







</span></p><p class="">disable-<span class="">axfr</span>=yes</p><p class="">







</p><p class="">disable-<span class="">axfr</span>-<span class="">rectify</span>=yes</p><p class="">Thanks,</p><p class="">Sumit</p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 24, 2015 at 6:36 PM, Aki Tuomi <span dir="ltr"><<a href="mailto:cmouse@youzen.ext.b2.fi" target="_blank">cmouse@youzen.ext.b2.fi</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">But there is a reason why it's sometimes in either one, there is no sense<br>
in trying to fix this for consistency.<br>
<br>
SOA record goes in ANSWER section, when you ask for SOA record (or ANY).<br>
<br>
SOA record goes in AUTHORITY section, when a record is not found in the zone.<br>
<span class="HOEnZb"><font color="#888888"><br>
Aki<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Tue, Feb 24, 2015 at 04:21:28PM +0530, sumit sharma wrote:<br>
> Hi Aki,<br>
><br>
> I want the SOA record that i am sending from the backend to come in the<br>
> AUTHORITY section of dig response.<br>
> Sometimes SOA record comes in AUTHORITY SECTION. But mostly it comes in<br>
> ANSWER SECTION. I want the response to be consistent. A and TXT records<br>
> always comes as expected in ANSWER SECTION.<br>
> Hence from dig, sometimes i get 1 authority & 2 answers but mostly i get 0<br>
> authority and 3 answers<br>
><br>
> Regards,<br>
> Sumit<br>
><br>
> On Tue, Feb 24, 2015 at 3:20 PM, Aki Tuomi <<a href="mailto:cmouse@youzen.ext.b2.fi">cmouse@youzen.ext.b2.fi</a>> wrote:<br>
><br>
> > On Tue, Feb 24, 2015 at 02:59:19PM +0530, sumit sharma wrote:<br>
> > > Hi All,<br>
> > ><br>
> > > I am currently using the pipe backend to server powerdns response.<br>
> > > I am trying to make powerdns as all authoritative server.<br>
> > ><br>
> > > dig query -> dig ANY <a href="http://subdomain.mydomain.com" target="_blank">subdomain.mydomain.com</a><br>
> > ><br>
> > > I am sending the following response to powerdns<br>
> > > 1. pdns requests for SOA record<br>
> > > 2. I send back<br>
> > >      <a href="http://subdomain.mydomain.com" target="_blank">subdomain.mydomain.com</a>. 0 IN SOA <a href="http://ahu.mydomain.com" target="_blank">ahu.mydomain.com</a>. <a href="http://ns1.mydomain.com" target="_blank">ns1.mydomain.com</a><br>
> > .<br>
> > > 2008080300 1800 3600 604800 3600<br>
> > > 3. pdns requests for ANY record<br>
> > > 4. I send back A & TXT records.<br>
> > ><br>
> > > I see the SOA record coming in ANSWER SECTION of dig query response.<br>
> > > I want to make it come to AUTHORITY SECTION.<br>
> > ><br>
> > > What can i do to make it happen?<br>
> > ><br>
> > > Thanks,<br>
> > > Sumit<br>
> ><br>
> > Why exactly do you want it in AUTHORITY SECTION?<br>
> ><br>
> > Aki<br>
> ><br>
> > > _______________________________________________<br>
> > > Pdns-users mailing list<br>
> > > <a href="mailto:Pdns-users@mailman.powerdns.com">Pdns-users@mailman.powerdns.com</a><br>
> > > <a href="http://mailman.powerdns.com/mailman/listinfo/pdns-users" target="_blank">http://mailman.powerdns.com/mailman/listinfo/pdns-users</a><br>
> ><br>
> ><br>
</div></div></blockquote></div><br></div>