dns_conf: set default check point time to 24h.
This commit is contained in:
@@ -122,7 +122,7 @@ char dns_conf_ca_path[DNS_MAX_PATH];
|
||||
|
||||
char dns_conf_cache_file[DNS_MAX_PATH];
|
||||
int dns_conf_cache_persist = 2;
|
||||
int dns_conf_cache_checkpoint_time;
|
||||
int dns_conf_cache_checkpoint_time = DNS_DEFAULT_CHECKPOINT_TIME;
|
||||
|
||||
/* auditing */
|
||||
int dns_conf_audit_enable = 0;
|
||||
|
||||
@@ -59,6 +59,7 @@ extern "C" {
|
||||
#define DNS_MAX_CONF_CNAME_LEN 256
|
||||
#define MAX_QTYPE_NUM 65535
|
||||
#define DNS_MAX_REPLY_IP_NUM 8
|
||||
#define DNS_DEFAULT_CHECKPOINT_TIME (3600 * 24)
|
||||
|
||||
#define SMARTDNS_CONF_FILE "/etc/smartdns/smartdns.conf"
|
||||
#define SMARTDNS_LOG_FILE "/var/log/smartdns/smartdns.log"
|
||||
|
||||
Reference in New Issue
Block a user