13 lines
545 B
Django/Jinja
13 lines
545 B
Django/Jinja
-- {{ ansible_managed }}
|
|
|
|
setLocal('127.0.0.1:5353')
|
|
|
|
newServer({address="127.0.0.1", qps=1, name="localhost"})
|
|
|
|
addTLSLocal('127.0.0.1','/etc/dnsdist/{{ ansible_fqdn }}.crt', '/etc/dnsdist/{{ ansible_fqdn }}.key')
|
|
addTLSLocal('{{ batman_ipv4 | ipaddr('address') }}','/etc/dnsdist/{{ ansible_fqdn }}.crt', '/etc/dnsdist/{{ ansible_fqdn }}.key')
|
|
addTLSLocal('{{ batman_ipv6 | ipaddr('address') }}','/etc/dnsdist/{{ ansible_fqdn }}.crt', '/etc/dnsdist/{{ ansible_fqdn }}.key')
|
|
|
|
-- disable security status polling via DNS
|
|
setSecurityPollSuffix("")
|