Skip to content

Commit

Permalink
dnsforward: reduce recursion ttl
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeneOne1 committed May 30, 2021
1 parent 79208a8 commit e43017a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/dnsforward/dnsforward.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func domainNameToSuffix(tld string) (suffix string) {

const (
// recursionTTL is the time recursive request is cached for.
recursionTTL = 5 * time.Second
recursionTTL = 1 * time.Second
// cachedRecurrentReqNum is the maximum number of cached recurrent
// requests.
cachedRecurrentReqNum = 1000
Expand Down

0 comments on commit e43017a

Please sign in to comment.