cleanup: doh.powerdns.org is not working anymore (#924)
While there, `.../internal/sessionresolver` => `.../sessionresolver` See https://github.com/ooni/probe/issues/2255
This commit is contained in:
parent
ec73ae20b4
commit
1153850aca
17 changed files with 3 additions and 23 deletions
|
|
@ -24,7 +24,7 @@ import (
|
|||
// create the underlying Dialer and/or HTTP transport, if needed. The URL
|
||||
// argument describes the kind of client that we want to make:
|
||||
//
|
||||
// - if the URL is `doh://powerdns`, `doh://google` or `doh://cloudflare` or the URL
|
||||
// - if the URL is `doh://google` or `doh://cloudflare` or the URL
|
||||
// starts with `https://`, then we create a DoH client.
|
||||
//
|
||||
// - if the URL is `` or `system:///`, then we create a system client,
|
||||
|
|
@ -49,8 +49,6 @@ func NewDNSClientWithOverrides(config Config, URL, hostOverride, SNIOverride,
|
|||
// We should split this function in smaller and testable units
|
||||
// TODO(https://github.com/ooni/probe/issues/2121#issuecomment-1147424810)
|
||||
switch URL {
|
||||
case "doh://powerdns":
|
||||
URL = "https://doh.powerdns.org/"
|
||||
case "doh://google":
|
||||
URL = "https://dns.google/dns-query"
|
||||
case "doh://cloudflare":
|
||||
|
|
|
|||
Loading…
Reference in a new issue