2020-11-04 23:16:27 +01:00
|
|
|
-- {{ ansible_managed }}
|
|
|
|
|
|
|
|
setLocal('127.0.0.1:5353')
|
|
|
|
|
|
|
|
newServer({address="127.0.0.1", qps=1, name="localhost"})
|
|
|
|
|
2020-11-05 18:54:01 +01:00
|
|
|
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')
|
2020-11-04 23:16:27 +01:00
|
|
|
|
|
|
|
-- disable security status polling via DNS
|
|
|
|
setSecurityPollSuffix("")
|