Change listen for mdns
The service listening port of MDNS can be override by dns_interface. If so, the pool conf use the wrong IP for join mdns service. Change-Id: I8a3678955ecf5f769da7090fe5dad68e027c102b
This commit is contained in:
parent
d87a837f36
commit
c2d150d6be
@ -25,8 +25,8 @@
|
|||||||
description: BIND9 Server {{ hostvars[bind_host]['ansible_' + hostvars[bind_host]['api_interface']]['ipv4']['address'] }}
|
description: BIND9 Server {{ hostvars[bind_host]['ansible_' + hostvars[bind_host]['api_interface']]['ipv4']['address'] }}
|
||||||
masters:
|
masters:
|
||||||
{% for mdns_host in groups['designate-mdns'] %}
|
{% for mdns_host in groups['designate-mdns'] %}
|
||||||
- host: {{ hostvars[mdns_host]['ansible_' + hostvars[mdns_host]['api_interface']]['ipv4']['address'] }}
|
- host: {{ hostvars[mdns_host]['ansible_' + hostvars[mdns_host]['dns_interface']]['ipv4']['address'] }}
|
||||||
port: 5354
|
port: {{ designate_mdns_port }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
options:
|
options:
|
||||||
host: {{ hostvars[bind_host]['ansible_' + hostvars[bind_host]['api_interface']]['ipv4']['address'] }}
|
host: {{ hostvars[bind_host]['ansible_' + hostvars[bind_host]['api_interface']]['ipv4']['address'] }}
|
||||||
@ -41,8 +41,8 @@
|
|||||||
description: BIND9 Server {{ bind_host }}
|
description: BIND9 Server {{ bind_host }}
|
||||||
masters:
|
masters:
|
||||||
{% for mdns_host in groups['designate-mdns'] %}
|
{% for mdns_host in groups['designate-mdns'] %}
|
||||||
- host: {{ hostvars[mdns_host]['ansible_' + hostvars[mdns_host]['api_interface']]['ipv4']['address'] }}
|
- host: {{ hostvars[mdns_host]['ansible_' + hostvars[mdns_host]['dns_interface']]['ipv4']['address'] }}
|
||||||
port: 5354
|
port: {{ designate_mdns_port }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
options:
|
options:
|
||||||
host: {{ bind_host }}
|
host: {{ bind_host }}
|
||||||
|
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- Change the service listening port of MDNS by dns_interface.
|
Loading…
Reference in New Issue
Block a user