Activity log for bug #1881849

Date Who What changed Old value New value Message
2020-06-03 05:05:56 Xing Zhang bug added bug
2020-06-03 05:06:17 Xing Zhang 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://bind9.readthedocs.io/en/latest/reference.html#controls-statement-grammar 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_address_family == 'ipv4' %} 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 %} 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://bind9.readthedocs.io/en/latest/reference.html#interfaces 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_address_family == 'ipv4' %} 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 %}
2020-06-03 05:09:07 Xing Zhang summary designate bind9 backend cannot work on ipv6 designate backend bind9 cannot work on ipv6
2021-02-25 12:24:17 Ralf Heiringhoff bug added subscriber Ralf Heiringhoff
2023-03-21 11:21:00 Gaël THEROND kolla-ansible: assignee Gaël THEROND (fl1nt)
2023-03-21 11:21:05 Gaël THEROND kolla-ansible: status New Confirmed