; See the COPYRIGHT file distributed with this work for additional
; information regarding copyright ownership.
-$TTL 3600 ; 1 hour
+$TTL 300 ; 5 minutes
@ IN SOA mname1. . (
2000042407 ; serial
20 ; refresh (20 seconds)
; See the COPYRIGHT file distributed with this work for additional
; information regarding copyright ownership.
-$TTL 3600
+$TTL 300 ; 5 minutes
@ SOA ns2.example. . 1 3600 1200 86400 1200
@ NS ns2
ns2 A 10.53.0.2
# check positive validation NSEC
response = delv("a", "a.example")
assert grep_c("a.example..*10.0.0.1", response)
- assert grep_c("a.example..*.RRSIG.A [0-9][0-9]* 2 3600 .*", response)
+ assert grep_c("a.example..*.RRSIG.A [0-9][0-9]* 2 300 .*", response)
# check positive validation NSEC (trsuted-keys)
response = delv("a", "a.example", tkeys=True)
assert grep_c("a.example..*10.0.0.1", response)
- assert grep_c("a.example..*.RRSIG.A [0-9][0-9]* 2 3600 .*", response)
+ assert grep_c("a.example..*.RRSIG.A [0-9][0-9]* 2 300 .*", response)
# check positive validation NSEC3
response = delv("a", "a.nsec3.example")
# check positive wildcard validation NSEC
response = delv("a", "a.wild.example")
assert grep_c("a.wild.example..*10.0.0.27", response)
- assert grep_c("a.wild.example..*.RRSIG.A [0-9][0-9]* 2 3600 .*", response)
+ assert grep_c("a.wild.example..*.RRSIG.A [0-9][0-9]* 2 300 .*", response)
# check positive wildcard validation NSEC3
response = delv("a", "a.wild.nsec3.example")
isctest.check.rr_count_eq(res1.answer, 2)
isctest.check.rr_count_eq(res2.answer, 2)
for rrset in res1.answer:
- assert rrset.ttl <= 3600
+ assert 3000 <= rrset.ttl <= 3600
for rrset in res2.answer:
assert rrset.ttl <= 300
msg = isctest.query.create("expiring.example", "SOA")
res2 = isctest.query.tcp(msg, "10.53.0.4")
for rrset in res1.answer:
- assert rrset.ttl <= 3600
+ assert 240 <= rrset.ttl <= 300
for rrset in res2.answer:
assert rrset.ttl <= 60
msg = isctest.query.create("expiring.example", "NS")
res2 = isctest.query.tcp(msg, "10.53.0.4")
for rrset in res1.additional:
- assert rrset.ttl <= 3600
+ assert 240 <= rrset.ttl <= 300
for rrset in res2.additional:
assert rrset.ttl <= 60
msg = isctest.query.create("expiring.example", "MX")
res2 = isctest.query.tcp(msg, "10.53.0.4")
for rrset in res1.additional:
- assert rrset.ttl <= 3600
+ assert 240 <= rrset.ttl <= 300
for rrset in res2.additional:
assert rrset.ttl <= 60
msg = isctest.query.create("expiring.example", "SOA")
res2 = isctest.query.tcp(msg, "10.53.0.4")
for rrset in res1.answer:
- assert rrset.ttl <= 3600
+ assert 240 <= rrset.ttl <= 300
for rrset in res2.answer:
assert rrset.ttl <= 120
msg = isctest.query.create("expiring.example", "MX")
res2 = isctest.query.tcp(msg, "10.53.0.4")
for rrset in res1.additional:
- assert rrset.ttl <= 3600
+ assert 240 <= rrset.ttl <= 300
for rrset in res2.additional:
assert rrset.ttl <= 120
msg = isctest.query.create("expired.example", "SOA")
res2 = isctest.query.tcp(msg, "10.53.0.4")
for rrset in res1.additional:
- assert rrset.ttl <= 3600
+ assert 240 <= rrset.ttl <= 300
for rrset in res2.additional:
assert rrset.ttl <= 120