increase resolver timeout

This commit is contained in:
Konstantin Demin 2024-06-04 11:01:51 +03:00
parent 7a8867433f
commit 6d0875e29a
Signed by: krd
GPG Key ID: 4D56F87A8BA65FD0
2 changed files with 2 additions and 2 deletions

2
cfg.go
View File

@ -14,7 +14,7 @@ const (
cfgResolverEndpoint = "127.1.0.1:53"
cfgResolverProto = "tcp"
cfgResolverTimeout = 1500 * time.Millisecond
cfgResolverTimeout = 2500 * time.Millisecond
cfgNftTable = "uni"
cfgNftTableFamily = nft.TableFamilyINet

View File

@ -1,5 +1,5 @@
launch=remote
remote-connection-string=http:url=http://127.0.0.1:8086/dns,post,post_json
remote-connection-string=http:url=http://127.0.0.1:8086/dns,post,post_json,timeout=3000
consistent-backends=false
zone-cache-refresh-interval=0