Do not respond to network error, silently fail to prevent caching of SERVFAIL

Hopefully we can improve the availability of DoH under unstable network environments.
This commit is contained in:
Star Brilliant
2018-04-26 10:17:14 +08:00
parent 1b90731f20
commit c4b2236cf9
4 changed files with 11 additions and 9 deletions
+4 -2
View File
@@ -23,5 +23,7 @@
package main
const VERSION = "1.3.3"
const USER_AGENT = "DNS-over-HTTPS/" + VERSION + " (+https://github.com/m13253/dns-over-https)"
const (
VERSION = "1.3.3"
USER_AGENT = "DNS-over-HTTPS/" + VERSION + " (+https://github.com/m13253/dns-over-https)"
)