Merge pull request #1102 from YunoHost/fix-dnsmasq-wildcard

[fix] Avoid to define the ip on wildcard subdomains too
This commit is contained in:
Alexandre Aubin 2020-12-10 19:22:12 +01:00 committed by GitHub
commit d3ef9f305b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,8 +1,8 @@
address=/{{ domain }}/{{ ipv4 }} host-record={{ domain }},{{ ipv4 }}
address=/xmpp-upload.{{ domain }}/{{ ipv4 }} host-record=xmpp-upload.{{ domain }},{{ ipv4 }}
{% if ipv6 %} {% if ipv6 %}
address=/{{ domain }}/{{ ipv6 }} host-record={{ domain }},{{ ipv6 }}
address=/xmpp-upload.{{ domain }}/{{ ipv6 }} host-record=xmpp-upload.{{ domain }},{{ ipv6 }}
{% endif %} {% endif %}
txt-record={{ domain }},"v=spf1 mx a -all" txt-record={{ domain }},"v=spf1 mx a -all"
mx-host={{ domain }},{{ domain }},5 mx-host={{ domain }},{{ domain }},5