<div><br></div><div>> Could you add the output of 'dig +norecurs -t aaaa <a href="http://bar.com/" target="_blank">bar.com</a>' and 'dig<br>> +norecurs -t aaaa <a href="http://foo.bar.com/" target="_blank">foo.bar.com</a>' and 'dig +norecurs -t any <a href="http://bar.com/" target="_blank">bar.com</a>'.</div>
<div><br></div><div><div>zane@zane:~$ dig @<a href="http://10.11.247.52">10.11.247.52</a> +norecurse -t aaaa <a href="http://bar.com">bar.com</a></div><div><br></div><div>; <<>> DiG 9.7.0-P1 <<>> @<a href="http://10.11.247.52">10.11.247.52</a> +norecurse -t aaaa <a href="http://bar.com">bar.com</a></div>
<div>; (1 server found)</div><div>;; global options: +cmd</div><div>;; Got answer:</div><div>;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 65010</div><div>;; flags: qr aa; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0</div>
<div><br></div><div>;; QUESTION SECTION:</div><div>;<a href="http://bar.com">bar.com</a>.<span class="Apple-tab-span" style="white-space:pre"> </span>IN<span class="Apple-tab-span" style="white-space:pre"> </span>AAAA</div>
<div><br></div><div>;; AUTHORITY SECTION:</div><div><a href="http://bar.com">bar.com</a>.<span class="Apple-tab-span" style="white-space:pre"> </span>300<span class="Apple-tab-span" style="white-space:pre"> </span>IN<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.bar.com">ns1.bar.com</a>. <a href="http://info.bar.com">info.bar.com</a>. 2002050701 10800 3600 604800 3600</div>
<div><br></div><div>;; Query time: 3 msec</div><div>;; SERVER: 10.11.247.52#53(10.11.247.52)</div><div>;; WHEN: Mon Jul 25 11:49:16 2011</div><div>;; MSG SIZE rcvd: 81</div><div><br></div><div>zane@zane:~$ dig @<a href="http://10.11.247.52">10.11.247.52</a> +norecurse -t aaaa <a href="http://ns1.bar.com">ns1.bar.com</a></div>
<div><br></div><div>; <<>> DiG 9.7.0-P1 <<>> @<a href="http://10.11.247.52">10.11.247.52</a> +norecurse -t aaaa <a href="http://ns1.bar.com">ns1.bar.com</a></div><div>; (1 server found)</div><div>
;; global options: +cmd</div>
<div>;; Got answer:</div><div>;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38113</div><div>;; flags: qr; QUERY: 1, ANSWER: 0, AUTHORITY: 2, ADDITIONAL: 0</div><div><br></div><div>;; QUESTION SECTION:</div>
<div>;<a href="http://ns1.bar.com">ns1.bar.com</a>.<span class="Apple-tab-span" style="white-space:pre"> </span>IN<span class="Apple-tab-span" style="white-space:pre"> </span>AAAA</div><div><br></div><div>;; AUTHORITY SECTION:</div>
<div><a href="http://ns1.bar.com">ns1.bar.com</a>.<span class="Apple-tab-span" style="white-space:pre"> </span>3600<span class="Apple-tab-span" style="white-space:pre"> </span>IN<span class="Apple-tab-span" style="white-space:pre"> </span>NS<span class="Apple-tab-span" style="white-space:pre"> </span><a href="http://ns1.bar.com">ns1.bar.com</a>.</div>
<div><a href="http://ns1.bar.com">ns1.bar.com</a>.<span class="Apple-tab-span" style="white-space:pre"> </span>3600<span class="Apple-tab-span" style="white-space:pre"> </span>IN<span class="Apple-tab-span" style="white-space:pre"> </span>NS<span class="Apple-tab-span" style="white-space:pre"> </span><a href="http://ns2.bar.com">ns2.bar.com</a>.</div>
<div><br></div><div>;; Query time: 1 msec</div><div>;; SERVER: 10.11.247.52#53(10.11.247.52)</div><div>;; WHEN: Mon Jul 25 11:49:25 2011</div><div>;; MSG SIZE rcvd: 130</div><div><br></div><div>zane@zane:~$ dig @<a href="http://10.11.247.52">10.11.247.52</a> +norecurse -t any <a href="http://bar.com">bar.com</a></div>
<div><br></div><div>; <<>> DiG 9.7.0-P1 <<>> @<a href="http://10.11.247.52">10.11.247.52</a> +norecurse -t any <a href="http://bar.com">bar.com</a></div><div>; (1 server found)</div><div>;; global options: +cmd</div>
<div>;; Got answer:</div><div>;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14420</div><div>;; flags: qr aa; QUERY: 1, ANSWER: 7, AUTHORITY: 0, ADDITIONAL: 0</div><div><br></div><div>;; QUESTION SECTION:</div>
<div>;<a href="http://bar.com">bar.com</a>.<span class="Apple-tab-span" style="white-space:pre"> </span>IN<span class="Apple-tab-span" style="white-space:pre"> </span>ANY</div><div><br></div><div>;; ANSWER SECTION:</div>
<div><a href="http://bar.com">bar.com</a>.<span class="Apple-tab-span" style="white-space:pre"> </span>300<span class="Apple-tab-span" style="white-space:pre"> </span>IN<span class="Apple-tab-span" style="white-space:pre"> </span>MX<span class="Apple-tab-span" style="white-space:pre"> </span>5 <a href="http://emx.bar.com">emx.bar.com</a>.</div>
<div><a href="http://bar.com">bar.com</a>.<span class="Apple-tab-span" style="white-space:pre"> </span>3600<span class="Apple-tab-span" style="white-space:pre"> </span>IN<span class="Apple-tab-span" style="white-space:pre"> </span>NS<span class="Apple-tab-span" style="white-space:pre"> </span><a href="http://ns1.bar.com">ns1.bar.com</a>.</div>
<div><a href="http://bar.com">bar.com</a>.<span class="Apple-tab-span" style="white-space:pre"> </span>300<span class="Apple-tab-span" style="white-space:pre"> </span>IN<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.bar.com">ns1.bar.com</a>. <a href="http://info.bar.com">info.bar.com</a>. 2002050701 10800 3600 604800 3600</div>
<div><a href="http://bar.com">bar.com</a>.<span class="Apple-tab-span" style="white-space:pre"> </span>300<span class="Apple-tab-span" style="white-space:pre"> </span>IN<span class="Apple-tab-span" style="white-space:pre"> </span>A<span class="Apple-tab-span" style="white-space:pre"> </span>64.74.223.37</div>
<div><a href="http://bar.com">bar.com</a>.<span class="Apple-tab-span" style="white-space:pre"> </span>300<span class="Apple-tab-span" style="white-space:pre"> </span>IN<span class="Apple-tab-span" style="white-space:pre"> </span>MX<span class="Apple-tab-span" style="white-space:pre"> </span>5 <a href="http://emx2.bar.com">emx2.bar.com</a>.</div>
<div><a href="http://bar.com">bar.com</a>.<span class="Apple-tab-span" style="white-space:pre"> </span>3600<span class="Apple-tab-span" style="white-space:pre"> </span>IN<span class="Apple-tab-span" style="white-space:pre"> </span>NS<span class="Apple-tab-span" style="white-space:pre"> </span><a href="http://ns2.bar.com">ns2.bar.com</a>.</div>
<div><a href="http://bar.com">bar.com</a>.<span class="Apple-tab-span" style="white-space:pre"> </span>300<span class="Apple-tab-span" style="white-space:pre"> </span>IN<span class="Apple-tab-span" style="white-space:pre"> </span>MX<span class="Apple-tab-span" style="white-space:pre"> </span>5 <a href="http://emx.bar.com">emx.bar.com</a>.</div>
<div><br></div><div>;; Query time: 2 msec</div><div>;; SERVER: 10.11.247.52#53(10.11.247.52)</div><div>;; WHEN: Mon Jul 25 11:49:50 2011</div><div>;; MSG SIZE rcvd: 335</div><div><br></div><div><br></div></div><br><br><div class="gmail_quote">
On Mon, Jul 25, 2011 at 11:35 AM, bert hubert <span dir="ltr"><<a href="mailto:bert.hubert@netherlabs.nl">bert.hubert@netherlabs.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Mon, Jul 25, 2011 at 11:23:52AM -0700, Zane Thomas wrote:<br>
> I have a zone <a href="http://bar.com" target="_blank">bar.com</a> for which pdns (3.0) is authoritative, there are no<br>
> AAAA records in the zone.<br>
<br>
</div>Could you add the output of 'dig +norecurs -t aaaa <a href="http://bar.com" target="_blank">bar.com</a>' and 'dig<br>
+norecurs -t aaaa <a href="http://foo.bar.com" target="_blank">foo.bar.com</a>' and 'dig +norecurs -t any <a href="http://bar.com" target="_blank">bar.com</a>'.<br>
<br>
Your question corresponds to this regression test:<br>
<br>
non-existing-record-other-types-exist:<br>
When asking for a record/type combination which does not exist, but the<br>
record in question does have other types available, a nameserver should<br>
return an authoritative empty no-error packet, and NOT set NXDOMAIN.<br>
Passed test non-existing-record-other-types-exist<br>
<br>
And in the release tests, this one passed. However, this test is indeed at<br>
the apex.<br>
<br>
So please show your 'dig' output.<br>
<br>
Bert<br>
<div class="im"><br>
<br>
><br>
> If I query <a href="http://bar.com" target="_blank">bar.com</a> for AAAA the AA flag is set in the reply.<br>
><br>
> There are no records for foo in <a href="http://bar.com" target="_blank">bar.com</a>; when I query for AAAA of<br>
> <a href="http://foo.bar.com" target="_blank">foo.bar.com</a> the AA flag is not set in the reply as I expect.<br>
><br>
> Is this a problem in pdns or a problem with my expectations.<br>
><br>
> Tia!<br>
<br>
</div>> _______________________________________________<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><br clear="all"><br>-- <br>Nullius addictus jurare in verba magistri.<br>