]>
git.ipfire.org Git - thirdparty/pdns.git/blob - regression-tests.recursor-dnssec/test_Expired.py
7 from recursortests
import RecursorTest
10 class testExpired(RecursorTest
):
11 """This regression test starts the authoritative servers with a clock that is
12 set 15 days into the past. Hence, the recursor must reject the signatures
13 because they are expired.
17 _config_template
= """dnssec=validate"""
19 _auth_env
= {'LD_PRELOAD':os
.environ
.get('LIBFAKETIME'),
23 query
= dns
.message
.make_query('host1.secure.example', 'A')
24 res
= self
.sendUDPQuery(query
)
26 self
.assertRcodeEqual(res
, dns
.rcode
.SERVFAIL
)