diff --git a/roles/dnsmasq/templates/dns-update.j2 b/roles/dnsmasq/templates/dns-update.j2 index 69b0351..89ac0c2 100644 --- a/roles/dnsmasq/templates/dns-update.j2 +++ b/roles/dnsmasq/templates/dns-update.j2 @@ -1,5 +1,10 @@ #!/bin/sh +# don’t spam the DNS server when starting dnsmasq +if [ -n "${DNSMASQ_INTERFACE}" ] ; then + exit +fi + domain={{ domain }} ldap_user={{ password.ldap_user }} ttl=3600