Add prefetch domain feature

This commit is contained in:
Nick Peng
2018-08-18 23:56:59 +08:00
parent 1b19dfcd42
commit 92956e9bd3
8 changed files with 195 additions and 26 deletions

View File

@@ -198,8 +198,8 @@ int smartdns_init(void)
goto errout;
}
/* tlog_setlogscreen(1); */
tlog_setlevel(dns_conf_log_level);
tlog_setlogscreen(1);
tlog_setlevel(TLOG_INFO);
if (dns_conf_server_num <= 0) {
if (smartdns_load_from_resolv() != 0) {