Skip to content
Snippets Groups Projects
Verified Commit cc51282a authored by me5na7qbjqbrp's avatar me5na7qbjqbrp
Browse files

[bind] Add wildcart to .eu and .fr

parent d3759ff9
No related branches found
No related tags found
No related merge requests found
......@@ -35,6 +35,50 @@ zone "_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
{% for zone in bind.zones|sort %}
zone "{{ zone }}" {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment