Thank you for the response, Mark!<div><br></div><div>It's comforting to know that it's not something I have misconfigured on my end. </div><div><br></div><div>Just a followup question, can you point me in a direction for learning about what a "good" or "cachable" AAAA answer would be? How do I ascertain the quality of results I'm getting from my upstream DNS server?</div>

<div><br><div class="gmail_quote">On Fri, Mar 1, 2013 at 4:02 PM, Mark Andrews <span dir="ltr"><<a href="mailto:marka@isc.org" target="_blank">marka@isc.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
In message <CAEy9Ut5ooYJCcSXi3aHCnZz5vD578yqsBpNoTzw3Xmh=<a href="mailto:BZmjOA@mail.gmail.com">BZmjOA@mail.gmail.com</a>><br>
<div class="im">, Stephen Wood writes:<br>
><br>
> Hello.<br>
><br>
> I have bind set up as a cache and forwarder only. I am having trouble<br>
> getting bind to cache AAAA records. I can see from the rndc stats file that<br>
> A records are being cached quite nicely, but all AAAA requests are flowing<br>
> through to the upstream servers.<br>
<br>
</div>Unfortunately some load balancers don't return good / cacheable<br>
negative answers for AAAA queries.  They either have no SOA record<br>
or return the wrong SOA record.<br>
<div><div class="h5"><br>
> Here's a snippet from my stats file:<br>
><br>
> ++ Incoming Queries ++<br>
>                17394 A<br>
>                17387 AAAA<br>
> ++ Outgoing Queries ++<br>
> [View: default]<br>
>                  202 A<br>
>                17354 AAAA<br>
><br>
> Unless I'm reading the stats output, it looks like all of the AAAA requests<br>
> are cache misses.<br>
><br>
> My bind.conf.options file has the following contents:<br>
><br>
> options {<br>
>     recursing-file "/etc/bind/bind.recurse";<br>
>     forward only;<br>
><br>
>     minimal-responses yes;<br>
><br>
>     statistics-file "/etc/bind/stats";<br>
><br>
>     forwarders {<br>
>         172.16.0.23;<br>
>     } ;<br>
><br>
>     recursive-clients 10000;<br>
><br>
>     allow-query { any ; } ;<br>
>     allow-recursion { any ; } ;<br>
>     listen-on { any ; };<br>
>     listen-on-v6 { any ; };<br>
><br>
>     recursion yes;<br>
> };<br>
><br>
><br>
> The contents of my /etc/defaults/bind9 file is as follows:<br>
><br>
> //<br>
> # run resolvconf?<br>
> RESOLVCONF=no<br>
><br>
> # startup options for the server<br>
> OPTIONS="-u bind"<br>
> //<br>
><br>
> My operating system is Ubuntu 12.04.<br>
><br>
> Is there someone that can point me in the right direction? I tried googling<br>
> "Bind9 AAAA record not caching" and things like "bind AAAA cache hit" but<br>
> can't seem to figure out what's happening.<br>
><br>
</div></div>> --047d7b603bce0e609504d6e57a83<br>
> Content-Type: text/html; charset=ISO-8859-1<br>
> Content-Transfer-Encoding: quoted-printable<br>
><br>
> Hello.<div><br></div><div>I have bind set up as a cache and forwarder only.=<br>
>  I am having trouble getting bind to cache AAAA records. I can see from the=<br>
>  rndc stats file that A records are being cached quite nicely, but all AAAA=<br>
>  requests are flowing through to the upstream servers.</div><br>
><br>
> <div><br></div><div>Here&#39;s a snippet from my stats file:</div><div><br>=<br>
> </div><div><div>++ Incoming Queries ++</div><div>=A0 =A0 =A0 =A0 =A0 =A0 =<br>
> =A0 =A017394 A</div><div>=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A017387 AAAA</div><di=<br>
> v>++ Outgoing Queries ++</div><br>
><br>
> <div>[View: default]</div><div>=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0202 A</di=<br>
> v><div>=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A017354 AAAA</div></div><div><br></div>=<br>
> <div>Unless I&#39;m reading the stats output, it looks like all of the AAAA=<br>
>  requests are cache misses.</div><br>
><br>
> <div><br></div><div>My bind.conf.options file has the following contents:</=<br>
> div><div><br></div><div><div>options {</div><div>=A0 =A0 recursing-file &qu=<br>
> ot;/etc/bind/bind.recurse&quot;;</div><div>=A0 =A0 forward only;</div><div>=<br>
> <br><br>
><br>
> </div><div>=A0 =A0 minimal-responses yes;</div><div><br></div><div>=A0 =A0 =<br>
> statistics-file &quot;/etc/bind/stats&quot;;</div><div><br></div><div>=A0 =<br>
> =A0 forwarders {</div><div>=A0 =A0 =A0 =A0 172.16.0.23;</div><div>=A0 =A0 }=<br>
>  ;</div><div><br></div><br>
><br>
> <div>=A0 =A0 recursive-clients 10000;</div><div><br></div><div>=A0 =A0 allo=<br>
> w-query { any ; } ;</div><div>=A0 =A0 allow-recursion { any ; } ;</div><div=<br>
> >=A0 =A0 listen-on { any ; };</div><div>=A0 =A0 listen-on-v6 { any ; };</di=<br>
> v><div><br></div><br>
><br>
> <div>=A0 =A0 recursion yes;</div><div>};</div><div><br></div></div><div><br=<br>
> ></div><div>The contents of my /etc/defaults/bind9 file is as follows:</div=<br>
> ><div><br></div><div>//</div><div><div># run resolvconf?</div><div>RESOLVCO=<br>
> NF=3Dno</div><br>
><br>
> <div><br></div><div># startup options for the server</div><div>OPTIONS=3D&q=<br>
> uot;-u bind&quot;</div></div><div>//</div><div><br></div><div>My operating =<br>
> system is Ubuntu 12.04.=A0</div><div><br></div><div>Is there someone that c=<br>
> an point me in the right direction? I tried googling &quot;Bind9 AAAA recor=<br>
> d not caching&quot; and things like &quot;bind AAAA cache hit&quot; but can=<br>
> &#39;t seem to figure out what&#39;s happening.</div><br>
><br>
><br>
> --047d7b603bce0e609504d6e57a83--<br>
><br>
> --===============6431643929279798256==<br>
> Content-Type: text/plain; charset="us-ascii"<br>
> MIME-Version: 1.0<br>
> Content-Transfer-Encoding: 7bit<br>
> Content-Disposition: inline<br>
><br>
> _______________________________________________<br>
> Please visit <a href="https://lists.isc.org/mailman/listinfo/bind-users" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe<br>
>  from this list<br>
><br>
> bind-users mailing list<br>
> <a href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a><br>
> <a href="https://lists.isc.org/mailman/listinfo/bind-users" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a><br>
> --===============6431643929279798256==--<br>
<span class="HOEnZb"><font color="#888888">--<br>
Mark Andrews, ISC<br>
1 Seymour St., Dundas Valley, NSW 2117, Australia<br>
PHONE: <a href="tel:%2B61%202%209871%204742" value="+61298714742">+61 2 9871 4742</a>                 INTERNET: <a href="mailto:marka@isc.org">marka@isc.org</a><br>
</font></span></blockquote></div><br></div>