ansible-ffrgb/roles/dns/templates/dnsdist.conf.j2

13 lines
545 B
Plaintext
Raw Normal View History

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"})
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("")