mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
provision: Correctly provision the SOA record minimum TTL
This fixes bug #10466 Signed-off-by: Kai Blin <kai@samba.org> Reviewed-by: Guenter Kukkukk <kukks@samba.org> Autobuild-User(master): Kai Blin <kai@samba.org> Autobuild-Date(master): Wed May 21 10:55:00 CEST 2014 on sn-devel-104
This commit is contained in:
parent
392ec4d241
commit
634f116fbb
@ -130,6 +130,7 @@ class SOARecord(dnsp.DnssrvRpcRecord):
|
||||
soa.expire = expire
|
||||
soa.mname = mname
|
||||
soa.rname = rname
|
||||
soa.minimum = minimum
|
||||
self.data = soa
|
||||
|
||||
|
||||
|
@ -289,6 +289,7 @@ class TestSimpleQueries(DNSTest):
|
||||
self.assert_dns_rcode_equals(response, dns.DNS_RCODE_OK)
|
||||
self.assert_dns_opcode_equals(response, dns.DNS_OPCODE_QUERY)
|
||||
self.assertEquals(response.ancount, 1)
|
||||
self.assertEquals(response.answers[0].rdata.minimum, 3600)
|
||||
|
||||
|
||||
class TestDNSUpdates(DNSTest):
|
||||
|
Loading…
Reference in New Issue
Block a user