backend/bind9 Added allow-new-zones configuration option.
To ensure rndc addzone/delzone functionality, allow-new-zones must be setup to true, as explain in upstream documentation. https://designate.readthedocs.org/en/latest/backends/bind9.html#bind9-configuration Change-Id: Ifc552a272e84ad83f1ec1dc279bc54c2b44e826a
This commit is contained in:
parent
b0c7643587
commit
e0f6a66caa
|
@ -13,4 +13,12 @@ class designate::backend::bind9 (
|
||||||
'backend:bind9/rndc_config_file' : value => $rndc_config_file;
|
'backend:bind9/rndc_config_file' : value => $rndc_config_file;
|
||||||
'backend:bind9/rndc_key_file' : value => $rndc_key_file;
|
'backend:bind9/rndc_key_file' : value => $rndc_key_file;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
file_line {'dns allow-new-zones':
|
||||||
|
ensure => present,
|
||||||
|
path => "${::dns::params::namedconf_path}.options",
|
||||||
|
line => 'allow-new-zones yes;',
|
||||||
|
require => Class['designate'],
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue