feat: Add dnsmasq_rebind_domains variable

This commit is contained in:
pulsar89.5 2024-05-07 01:30:48 +02:00
parent 9249043b6d
commit c744dabb99
2 changed files with 6 additions and 0 deletions

View File

@ -5,6 +5,7 @@ dnsmasq_domain: ""
dnsmasq_servers: [] dnsmasq_servers: []
dnsmasq_rev_servers: [] dnsmasq_rev_servers: []
dnsmasq_bogus_priv_enabled: true dnsmasq_bogus_priv_enabled: true
dnsmasq_rebind_domains: []
dnsmasq_hosts: [] dnsmasq_hosts: []

View File

@ -37,6 +37,11 @@ server={{ server }}
rev-server={{ server }} rev-server={{ server }}
{% endfor %} {% endfor %}
# Définir les exceptions pour lesquelles le rebond est ok
{% for server in dnsmasq_rebind_domains %}
rebind-domain-ok=/domain/
{% endfor %}
# Bloquer le rebond DNS # Bloquer le rebond DNS
stop-dns-rebind stop-dns-rebind