2021-09-09 21:24:27 +02:00
|
|
|
package resolver
|
|
|
|
|
2021-09-28 12:42:01 +02:00
|
|
|
import "github.com/ooni/probe-cli/v3/internal/netxlite"
|
2021-09-09 21:24:27 +02:00
|
|
|
|
|
|
|
// Variables that other packages expect to find here but have been
|
|
|
|
// moved into the internal/netxlite/dnsx package.
|
|
|
|
var (
|
2021-09-28 12:42:01 +02:00
|
|
|
NewSerialResolver = netxlite.NewSerialResolver
|
|
|
|
NewDNSOverUDP = netxlite.NewDNSOverUDP
|
|
|
|
NewDNSOverTCP = netxlite.NewDNSOverTCP
|
|
|
|
NewDNSOverTLS = netxlite.NewDNSOverTLS
|
|
|
|
NewDNSOverHTTPS = netxlite.NewDNSOverHTTPS
|
|
|
|
NewDNSOverHTTPSWithHostOverride = netxlite.NewDNSOverHTTPSWithHostOverride
|
2021-09-09 21:24:27 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
// Types that other packages expect to find here but have been
|
|
|
|
// moved into the internal/netxlite/dnsx package.
|
|
|
|
type (
|
2021-09-28 12:42:01 +02:00
|
|
|
DNSOverHTTPS = netxlite.DNSOverHTTPS
|
|
|
|
DNSOverTCP = netxlite.DNSOverTCP
|
|
|
|
DNSOverUDP = netxlite.DNSOverUDP
|
|
|
|
MiekgEncoder = netxlite.DNSEncoderMiekg
|
|
|
|
MiekgDecoder = netxlite.DNSDecoderMiekg
|
|
|
|
RoundTripper = netxlite.DNSTransport
|
|
|
|
SerialResolver = netxlite.SerialResolver
|
|
|
|
Dialer = netxlite.Dialer
|
|
|
|
DialContextFunc = netxlite.DialContextFunc
|
2021-09-09 21:24:27 +02:00
|
|
|
)
|