diff --git a/package/luci-compat/files/luci/i18n/smartdns.zh-cn.po b/package/luci-compat/files/luci/i18n/smartdns.zh-cn.po index 03453ad..338035a 100644 --- a/package/luci-compat/files/luci/i18n/smartdns.zh-cn.po +++ b/package/luci-compat/files/luci/i18n/smartdns.zh-cn.po @@ -214,6 +214,12 @@ msgstr "校验TLS主机名" msgid "Set TLS hostname to verify." msgstr "设置校验TLS主机名。" +msgid "No check certificate" +msgstr "停用证书校验" + +msgid "Do not check certificate." +msgstr "不校验证书的合法性。" + msgid "TLS SNI name" msgstr "TLS SNI名称" diff --git a/package/luci/files/luci/i18n/smartdns.zh-cn.po b/package/luci/files/luci/i18n/smartdns.zh-cn.po index 4cab4fe..ee00152 100644 --- a/package/luci/files/luci/i18n/smartdns.zh-cn.po +++ b/package/luci/files/luci/i18n/smartdns.zh-cn.po @@ -226,6 +226,12 @@ msgstr "校验TLS主机名" msgid "Set TLS hostname to verify." msgstr "设置校验TLS主机名。" +msgid "No check certificate" +msgstr "停用证书校验" + +msgid "Do not check certificate." +msgstr "不校验证书的合法性。" + msgid "TLS SNI name" msgstr "TLS SNI名称" diff --git a/src/dns_client.c b/src/dns_client.c index 2a5f349..57ff89e 100644 --- a/src/dns_client.c +++ b/src/dns_client.c @@ -58,7 +58,7 @@ #define DNS_TCP_IDLE_TIMEOUT (60 * 10) #define DNS_TCP_CONNECT_TIMEOUT (5) #define DNS_QUERY_TIMEOUT (500) -#define DNS_QUERY_RETRY (3) +#define DNS_QUERY_RETRY (6) #define DNS_PENDING_SERVER_RETRY 40 #define SOCKET_PRIORITY (6) #define SOCKET_IP_TOS (IPTOS_LOWDELAY | IPTOS_RELIABILITY)