Make the TTL returned for local answers configurable.
This commit is contained in:
1 parent
db217cd56f
commit
858a6dd253
12 files changed
+74
-47
No files matched your search
@@ -22,6 +22,8 @@ var (
|
||||
)
|
||||
|
||||
const (
|
||||
DefaultCacheNegLocalTTL = 30 // Default TTL for negative local resolutions
|
||||
|
||||
defPendingTimeout int = 5 // timeout for a resolution
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user