dns_resolver: make available for public

This commit is contained in:
Markus 2021-09-01 17:34:45 +02:00
parent 1da5ef70e5
commit 7c405d3b91

View File

@ -5,10 +5,12 @@ addLocal('::1')
addLocal('{{ ansible_default_ipv4.address }}')
addLocal('{{ ansible_default_ipv6.address }}')
addACL('194.156.22.0/24')
addACL('2001:678:ddc::/48')
addACL('0.0.0.0/0')
addACL('::/0')
newServer({address='127.0.0.1:5353', qps=1, name='localhost'})
addAction(MaxQPSIPRule(5), TCAction())
newServer({address='127.0.0.1:5353', name='localhost'})
addTLSLocal('{{ ansible_default_ipv4.address }}', '/etc/dnsdist/{{ ansible_fqdn }}.crt', '/etc/dnsdist/{{ ansible_fqdn }}.key')
addTLSLocal('{{ ansible_default_ipv6.address }}', '/etc/dnsdist/{{ ansible_fqdn }}.crt', '/etc/dnsdist/{{ ansible_fqdn }}.key')