bertvv/ansible-role-bind

ipv6 PTR zone invalid

Opened this issue · 0 comments

Hi,
I just tried your role on Debian 11 and there seems to be a problem with the ipv6_networks directive.
My var is:

    ipv6_networks:
    - "fc00::/38"

The created config looks like this:

zone ".0.0.0.0.0.0.0.c.f.ip6.arpa." IN {
  type master;
  file "/var/cache/bind/.0.0.0.0.0.0.0.c.f.ip6.arpa";
  notify yes;
  allow-update { none; };
};

The zonefile itself also uses this wrong name and within the zonefile, too.
bind fails to start. I think it should be.

zone "0.0.0.0.0.0.0.c.f.ip6.arpa." IN {
  type master;
  file "/var/cache/bind/0.0.0.0.0.0.0.c.f.ip6.arpa";
  notify yes;
  allow-update { none; };
};