diff options
author | Guenter Kukkukk <kukks@samba.org> | 2013-05-30 02:19:32 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2013-05-30 09:41:20 +0200 |
commit | 553d63f0ead74ea101b2169bdad4af80caa16e2b (patch) | |
tree | 17fae5e40553db549ced4bfa29dd91f7d35a0b83 /source4/rpc_server | |
parent | 09aaa991ef765405108c09c2059bbae2d897363e (diff) | |
download | samba-553d63f0ead74ea101b2169bdad4af80caa16e2b.tar.gz samba-553d63f0ead74ea101b2169bdad4af80caa16e2b.tar.bz2 samba-553d63f0ead74ea101b2169bdad4af80caa16e2b.zip |
s4-dns: set TTL value in the NS server part of the SOA record
noticed this when using samba-tool to create a new zone
Signed-off-by: Guenter Kukkukk <kukks@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu May 30 09:41:20 CEST 2013 on sn-devel-104
Diffstat (limited to 'source4/rpc_server')
-rw-r--r-- | source4/rpc_server/dnsserver/dnsdb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/rpc_server/dnsserver/dnsdb.c b/source4/rpc_server/dnsserver/dnsdb.c index 91e9aa8326..8cdeae41f5 100644 --- a/source4/rpc_server/dnsserver/dnsdb.c +++ b/source4/rpc_server/dnsserver/dnsdb.c @@ -934,6 +934,7 @@ WERROR dnsserver_db_create_zone(struct ldb_context *samdb, dns_rec[1].wType = DNS_TYPE_NS; dns_rec[1].rank = DNS_RANK_ZONE; dns_rec[1].dwSerial = soa.serial; + dns_rec[1].dwTtlSeconds = 3600; dns_rec[1].dwTimeStamp = (uint32_t)t; dns_rec[1].data.ns = server_fqdn; |