Skip to content

Commit

Permalink
exclude ::1 from dns cache
Browse files Browse the repository at this point in the history
It caused some problems. See #629
  • Loading branch information
gustavo-iniguez-goya committed Feb 23, 2022
1 parent 0a5546c commit bbe6c72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/dns/track.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func Track(resolved string, hostname string) {
lock.Lock()
defer lock.Unlock()

if resolved == "127.0.0.1" {
if resolved == "127.0.0.1" || resolved == "::1" {
return
}
responses[resolved] = hostname
Expand Down

0 comments on commit bbe6c72

Please sign in to comment.