daemon=no
trace=yes
dont-query=
-ecs-add-for=0.0.0.0/0
local-address=127.0.0.1
-packetcache-ttl=0
-packetcache-servfail-ttl=0
+packetcache-ttl=15
+packetcache-servfail-ttl=15
max-cache-ttl=600
-threads=1
+threads=2
loglevel=9
disable-syslog=yes
+log-common-errors=yes
+statistics-interval=0
+ecs-add-for=0.0.0.0/0
"""
def sendECSQuery(self, query, expected, expectedFirstTTL=None, scopeZeroResponse=None):
class testTooLargeToAddZeroScope(RecursorTest):
_confdir = 'TooLargeToAddZeroScope'
- _config_template_default = """
+ _config_template = """
use-incoming-edns-subnet=yes
dnssec=validate
-daemon=no
-trace=yes
-packetcache-ttl=0
-packetcache-servfail-ttl=0
-max-cache-ttl=15
-threads=1
-loglevel=9
-disable-syslog=yes
-log-common-errors=yes
"""
- _config_template = """
- """
_lua_dns_script_file = """
function preresolve(dq)
if dq.qname == newDN('toolarge.ecs.') then