02ce483852
Bind9 is running without limit for UDP listeners. This patch is changing this behaviour and sets max 32 of UDP listeners. This is needed because of bug below [1]. [1] https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/1827923 Change-Id: Ie4c2ac4d5e990ebdc30c3a94d855703d814f1fee
36 lines
1.1 KiB
Django/Jinja
36 lines
1.1 KiB
Django/Jinja
{% set bind_cmd = 'named' if kolla_base_distro in ['ubuntu', 'debian'] else 'named' %}
|
|
{% set bind_file = 'bind/named.conf' if kolla_base_distro in ['ubuntu', 'debian'] else 'named.conf' %}
|
|
|
|
{
|
|
"command": "/usr/sbin/{{ bind_cmd }} -U {{ designate_backend_bind9_workers }} -g",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/named.conf",
|
|
"dest": "/etc/{{ bind_file }}",
|
|
"owner": "root",
|
|
"perm": "0660"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/rndc.conf",
|
|
"dest": "/etc/rndc.conf",
|
|
"owner": "root",
|
|
"perm": "0600",
|
|
"optional": true
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/rndc.key",
|
|
"dest": "/etc/rndc.key",
|
|
"owner": "root",
|
|
"perm": "0600",
|
|
"optional": true
|
|
}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/log/kolla/named",
|
|
"owner": "root:root",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|