feat(netxlite): implements NS queries (#734)
This diff has been extracted from eb0bf38957.
See https://github.com/ooni/probe/issues/2096.
While there, skip the broken tests caused by issue
https://github.com/ooni/probe/issues/2098.
This commit is contained in:
parent
c1b06a2d09
commit
ce052b665e
26 changed files with 859 additions and 75 deletions
|
|
@ -25,7 +25,7 @@ func (r *CacheResolver) LookupHost(
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if r.ReadOnly == false {
|
||||
if !r.ReadOnly {
|
||||
r.Set(hostname, entry)
|
||||
}
|
||||
return entry, nil
|
||||
|
|
|
|||
Loading…
Reference in a new issue