dns_resolver: fix sending TC on TCP connections

This commit is contained in:
Markus 2021-09-06 13:37:55 +02:00
parent c79f497a09
commit 7214833ecc

View File

@ -5,10 +5,9 @@ addLocal('::1')
addLocal('{{ ansible_default_ipv4.address }}')
addLocal('{{ ansible_default_ipv6.address }}')
addACL('0.0.0.0/0')
addACL('::/0')
setACL({'0.0.0.0/0', '::/0'})
addAction(MaxQPSIPRule(5), TCAction())
addAction(AndRule({TCPRule(false), MaxQPSIPRule(10)}), TCAction())
newServer({address='127.0.0.1:5353', name='localhost'})