Skip to content

Commit

Permalink
safesearch: imp docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizzick committed Dec 8, 2023
1 parent aa5e6e3 commit bab6bf3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/filtering/safesearch/safesearch.go
Expand Up @@ -226,7 +226,8 @@ func (ss *Default) searchHost(host string, qtype rules.RRType) (res *rules.DNSRe
// empty result is converted into a NODATA response.
//
// TODO(a.garipov): Use the main rewrite result mechanism used in
// [dnsforward.Server.filterDNSRequest].
// [dnsforward.Server.filterDNSRequest]. Now we resolve IPs for CNAME to save
// them in the safe search cache.
func (ss *Default) newResult(
rewrite *rules.DNSRewrite,
qtype rules.RRType,
Expand Down

0 comments on commit bab6bf3

Please sign in to comment.