Commit 6d6d5320 authored by ale's avatar ale

Allow override of the domain used for MX and NS records

parent 9ea38252
Pipeline #3320 failed with stage
in 180 minutes and 3 seconds
---
# The domain name used for NS and MX records for autogenerated zones.
# By default, this is the first public domain.
mx_ns_domain: "{{ domain_public[0] }}"
......@@ -7,8 +7,8 @@
{% if 'ip6' in hostvars[h] %}
- AAAA {{ hostvars[h]['ip6'] }}
{% endif %}
- NS ns{{ loop.index }}.{{ domain_public[0] }}.
- MX 10 mx{{ loop.index }}.{{ domain_public[0] }}.
- NS ns{{ loop.index }}.{{ mx_ns_domain }}.
- MX 10 mx{{ loop.index }}.{{ mx_ns_domain }}.
{% endfor %}
{% for d in domain_public %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment