fix(geolocate): use powerdns.org whoami service (#592)
This diff needs to be backported to the release/3.11 branch. Reference issue https://github.com/ooni/probe/issues/1865.
This commit is contained in:
parent
0a322ebab0
commit
5a481b395a
|
@ -20,7 +20,7 @@ type resolverLookupClient struct{}
|
|||
|
||||
func (rlc resolverLookupClient) do(ctx context.Context, r dnsResolver) (string, error) {
|
||||
var ips []string
|
||||
ips, err := r.LookupHost(ctx, "whoami.akamai.net")
|
||||
ips, err := r.LookupHost(ctx, "whoami.v4.powerdns.org")
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user