ipv6 AAAA register and ipv4 NS register with the same name

Barry Margolin barmar at alum.mit.edu
Mon Dec 15 16:01:20 UTC 2014


In article <mailman.1278.1418632708.26362.bind-users at lists.isc.org>,
 Manuel Ramírez <manuel.ramirez at grupoica.com> wrote:

> Hello,
> 
> We have bind 9.8.4. P2 with many registers delegated to Link load
> balancer (we have two public ip´s range and linkproof acts as a dns
> balancer).
> Now we need to add the ipv6 AAAA register for all those registers that
> are in ipv4 delegated to the link balancer but this balancer doesn´t
> support ipv6.
> 
> So we have the ipv4 register as NS and the same register in ipv6 as
> AAAA.I thought that when i ask for the ipv4 register the link balancer
> should show the two public ip´s and when i ask for the AAAA register,
> the dns shows the ipv6 ip, but is not like this.Doesn´t matter i ask
> for ipv4(ns) or ipv6(AAAA), always obtent the ipv4 ip delegated to the
> link balancer.

AAAA is the IPv6 version of A records, which translate names to 
addresses. Nameservers are listed in NS records, regardless of the IP 
version.

Just use more nameserver records:

@ IN NS v4-ns1
  IN NS v4-ns2
  IN NS v6-ns1
  IN NS v6-ns1

v4-ns1 IN A 1.2.3.4
v4-ns2 IN A 9.8.7.6
v6-ns1 IN AAAA 11:22:33:44::1
v6-ns2 IN AAAA aa:bb:cc:dd::10

-- 
Barry Margolin
Arlington, MA


More information about the bind-users mailing list