mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-05 14:17:36 +03:00
Typo
This commit is contained in:
parent
068c8e70f2
commit
0e8d1a941b
1 changed files with 4 additions and 4 deletions
|
@ -29,7 +29,7 @@ const (
|
|||
DefaultFallbackResolver = "9.9.9.9:53"
|
||||
DefaultKeepAlive = 5 * time.Second
|
||||
DefaultTimeout = 30 * time.Second
|
||||
SystemRresolverIPTTL = 24 * time.Hour
|
||||
SystemResolverIPTTL = 24 * time.Hour
|
||||
MinResolverIPTTL = 8 * time.Hour
|
||||
ExpiredCachedIPGraceTTL = 5 * time.Minute
|
||||
)
|
||||
|
@ -70,7 +70,7 @@ func NewXTransport() *XTransport {
|
|||
timeout: DefaultTimeout,
|
||||
fallbackResolver: DefaultFallbackResolver,
|
||||
mainProto: "",
|
||||
ignoreSystemDNS: false,
|
||||
ignoreSystemDNS: true,
|
||||
useIPv4: true,
|
||||
useIPv6: false,
|
||||
tlsDisableSessionTickets: false,
|
||||
|
@ -173,7 +173,7 @@ func (xTransport *XTransport) rebuildTransport() {
|
|||
}
|
||||
|
||||
func (xTransport *XTransport) resolveUsingSystem(host string) (ip net.IP, ttl time.Duration, err error) {
|
||||
ttl = SystemRresolverIPTTL
|
||||
ttl = SystemResolverIPTTL
|
||||
var foundIPs []string
|
||||
foundIPs, err = net.LookupHost(host)
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue