<br><div>I&#39;m in the process of creating a backend which pulls data from an existing database. The database is currently used by an existing dns server which is being obsoleted.</div><div><br></div><div>In the following there is a difference between the way the two servers respond to a request for SOA of <a href="http://foo.bar.com">foo.bar.com</a> where <a href="http://bar.com">bar.com</a> exists and <a href="http://foo.bar.com">foo.bar.com</a> does not. Specifically, the &quot;old&quot; server gives <a href="http://bar.com">bar.com</a> as the answer name while pdns gives <a href="http://foo.bar.com">foo.bar.com</a>. <br>
</div><div><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div>Query: <a href="http://foo.bar.com">foo.bar.com</a>. SOA</div></div><div><div><br></div></div>
<div><div><br></div></div><div><div>The Old Server:</div></div><div><div>;; -&gt;&gt;HEADER&lt;&lt;- opcode: Query, rcode: NoError, id: 10043</div></div><div><div>;; flags: AA QR , QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 5</div>
</div><div><div>;; ANSWERS:</div></div><div><div><a href="http://bar.com">bar.com</a>.<span class="Apple-tab-span" style="white-space:pre">        </span>SOA<span class="Apple-tab-span" style="white-space:pre">        </span><a href="http://ns1.example.com">ns1.example.com</a>. <a href="http://whome.example.com">whome.example.com</a>. 2002050701 10001 1801 604801 181<span class="Apple-tab-span" style="white-space:pre">        </span>TTL=1800</div>
</div><div><div><br></div></div><div><div>PowerDNS:</div></div><div><div>;; -&gt;&gt;HEADER&lt;&lt;- opcode: Query, rcode: NoError, id: 10043</div></div><div><div>;; flags: AA QR , QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1</div>
</div><div><div>;; ANSWERS:</div></div><div><div><a href="http://foo.bar.com">foo.bar.com</a>.<span class="Apple-tab-span" style="white-space:pre">        </span>SOA<span class="Apple-tab-span" style="white-space:pre">        </span><a href="http://ns1.example.com">ns1.example.com</a>. <a href="http://whome.example.com">whome.example.com</a>. 2010 10800 3600 604800 3600<span class="Apple-tab-span" style="white-space:pre">        </span>TTL=3600</div>
</div><div><br></div></blockquote>Which, if either of those is correct?<div><br></div><div>Is PDNS incorrect and is it most likely an issue with my backend?<br><div><br></div><div>Tia!</div><div><br></div></div>