[bind] Add wildcart to .eu and .fr

certbot_on_virtu
Alexandre Iooss 2020-04-27 15:17:31 +02:00
parent d3759ff960
commit cc51282a63
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
1 changed files with 44 additions and 0 deletions

View File

@ -35,6 +35,50 @@ zone "_acme-challenge.crans.org" {
file "bak._acme-challenge.crans.org"; file "bak._acme-challenge.crans.org";
}; };
zone "_acme-challenge.crans.fr" {
{% if is_master %}
type master;
notify yes;
update-policy {
grant certbot_challenge. name _acme-challenge.crans.fr. txt;
};
{% else %}
type slave;
masters {
{% for ip in masters_ipv4 %}
{{ ip }};
{% endfor -%}
{% for ip in masters_ipv6 %}
{{ ip }};
{% endfor %}
};
notify no;
{% endif %}
file "bak._acme-challenge.crans.fr";
};
zone "_acme-challenge.crans.eu" {
{% if is_master %}
type master;
notify yes;
update-policy {
grant certbot_challenge. name _acme-challenge.crans.eu. txt;
};
{% else %}
type slave;
masters {
{% for ip in masters_ipv4 %}
{{ ip }};
{% endfor -%}
{% for ip in masters_ipv6 %}
{{ ip }};
{% endfor %}
};
notify no;
{% endif %}
file "bak._acme-challenge.crans.eu";
};
// Crans zones // Crans zones
{% for zone in bind.zones|sort %} {% for zone in bind.zones|sort %}
zone "{{ zone }}" { zone "{{ zone }}" {