designate backend bind9 cannot work on ipv6
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Confirmed
|
Undecided
|
Gaël THEROND |
Bug Description
Cannot create zone and other resource when deploy on ipv6.
named.conf
include "/etc/rndc.key";
options {
listen-on port 53 { 2001:db8::a; };
and port 53 was not listen on this address.
ipv6 is a different config option: listen-on-v6
if leave listen-on to default, all interfaces are used.
Document
https:/
listen-on port 53 { 127.0.0.1; ip-address; };
Tells BIND on which network interfaces and port to accept client queries. port 53 does not need to be specified explicitly, because 53 is the default port. Enter 127.0.0.1 to permit requests from the local host. If you omit this entry entirely, all interfaces are used by default.
listen-on-v6 port 53 {any; };
Tells BIND on which port it should listen for IPv6 client requests. The only alternative to any is none. As far as IPv6 is concerned, the server only accepts a wild card address.
possible solution(maybe need to consider about dual stack support? this will be used for vms. or just use custom config files by users):
from:
listen-on port {{ designate_bind_port }} { {{ 'api' | kolla_address }}; };
{% if api_interface != dns_interface %}
listen-on port {{ designate_bind_port }} { {{ 'dns' | kolla_address }}; };
{% endif %}
to:
{% if network_
listen-on port {{ designate_bind_port }} { {{ 'api' | kolla_address }}; };
{% if api_interface != dns_interface %}
listen-on port {{ designate_bind_port }} { {{ 'dns' | kolla_address }}; };
{% endif %}
{% else %}
listen-on port {{ designate_bind_port }} {};
listen-on-v6 port {{ designate_bind_port }} { {{ 'api' | kolla_address }}; };
{% if api_interface != dns_interface %}
listen-on-v6 port {{ designate_bind_port }} { {{ 'dns' | kolla_address }}; };
{% endif %}
{% endif %}
description: | updated |
summary: |
- designate bind9 backend cannot work on ipv6 + designate backend bind9 cannot work on ipv6 |
Changed in kolla-ansible: | |
assignee: | nobody → Gaël THEROND (fl1nt) |
status: | New → Confirmed |