I have (attempted to) set up dnscache on Ubuntu 14.04 (Trusty) to do dual stack for servicing requests AND querying authoritative name servers.
To be clear, I'm using the dbndns package, which has the IPv6 patch by fefe.
I installed the dbndns & dnscache-run packages.
I made sure that /etc/service/dnscache/env/IP
was 0.0.0.0
and /etc/service/dnscache/env/IPSEND
was 0.0.0.0
.
I also added our IP ranges in /etc/service/dnscache/root/ip
.
I can now load aaaa and a records using dig
on another machine over both IPv4 and IPv6. But testipv6.com has a test for loading records from an IPv6 only authoritative name server. To test this, it loads the URL http://ds.v6ns.test-ipv6.com/ip/?callback=?. If I dig the hostname for that, ds.v6ns.test-ipv6.com
using 8.8.8.8
(google's IPv6 enabled DNS server), I get an AAAA record back. But doing the same to my dbndns cache (over IPv4 and IPv6) returns no result.
Does IPSEND need to be changed? If so, what to? I don't want to break resolving stuff for IPv4 only authoritative name servers.