diff --git a/cfg.go b/cfg.go index e8600b3..36b6d48 100644 --- a/cfg.go +++ b/cfg.go @@ -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 diff --git a/example-conf/pdns.conf b/example-conf/pdns.conf index 97835da..cce803c 100644 --- a/example-conf/pdns.conf +++ b/example-conf/pdns.conf @@ -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