<div dir="ltr">Hi Aki,<div><br></div><div>I want the SOA record that i am sending from the backend to come in the AUTHORITY section of dig response.</div><div>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.</div><div>Hence from dig, sometimes i get 1 authority & 2 answers but mostly i get 0 authority and 3 answers</div><div><br></div><div>Regards,</div><div>Sumit</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 24, 2015 at 3:20 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"><div class="HOEnZb"><div class="h5">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>
> 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>
</div></div>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>
</blockquote></div><br></div>