ansible/roles/dns/templates/dnsdist.conf.j2
Markus Hauschild f6c4f927f4
All checks were successful
continuous-integration/drone/push Build is passing
dns: also offer DoT
2020-11-04 23:16:27 +01:00

13 lines
557 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/nginx/ssl/{{ ansible_fqdn }}.crt', '/etc/nginx/ssl/{{ ansible_fqdn }}.key')
addTLSLocal('{{ batman_ipv4 | ipaddr('address') }}','/etc/nginx/ssl/{{ ansible_fqdn }}.crt', '/etc/nginx/ssl/{{ ansible_fqdn }}.key')
addTLSLocal('{{ batman_ipv6 | ipaddr('address') }}','/etc/nginx/ssl/{{ ansible_fqdn }}.crt', '/etc/nginx/ssl/{{ ansible_fqdn }}.key')
-- disable security status polling via DNS
setSecurityPollSuffix("")