Skip to content

Commit

Permalink
fix todo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
phillip-stephens committed Sep 20, 2024
1 parent 0117ece commit dc0413d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/zdns/lookup.go
Original file line number Diff line number Diff line change
Expand Up @@ -430,9 +430,8 @@ func getRandomNonQueriedNameServer(nameServers []NameServer, queriedNameServers
return &nameServers[rand.Intn(len(nameServers))]
}

// TODO fix the below
// cachedLookup wraps around retryingLookup to perform a DNS lookup with caching
// returns the result, whether it was cached, the status, the number of tries, and an error if one occured
// cachedLookup performs a DNS lookup with caching
// returns the result, whether it was cached, the status, and an error if one occurred
// layer is the domain name layer we're currently querying ex: ".", "com.", "example.com."
// depth is the current depth of the lookup, used for iterative lookups
// requestIteration is whether to set the "recursion desired" bit in the DNS query
Expand Down

0 comments on commit dc0413d

Please sign in to comment.