dns_server: fix dualstack select issue.

This commit is contained in:
Nick Peng
2022-06-08 23:28:46 +08:00
parent 6cfaa639f6
commit 7e985e7d11
4 changed files with 75 additions and 38 deletions

View File

@@ -64,7 +64,7 @@ int dns_conf_cachesize = DEFAULT_DNS_CACHE_SIZE;
int dns_conf_prefetch = 0;
int dns_conf_serve_expired = 1;
int dns_conf_serve_expired_ttl = 0;
int dns_conf_serve_expired_reply_ttl = 5;
int dns_conf_serve_expired_reply_ttl = 3;
/* upstream servers */
struct dns_servers dns_conf_servers[DNS_MAX_SERVERS];