feat(netxlite): implement LookupHTTPS (#514)
This new API call performs DNS lookups for HTTPS records. Part of https://github.com/ooni/probe/issues/1733 and diff has been extracted from https://github.com/ooni/probe-cli/pull/506.
This commit is contained in:
parent
c6b69cbee8
commit
8b9fe1a160
13 changed files with 621 additions and 24 deletions
14
internal/netxlite/dnsx/model/model.go
Normal file
14
internal/netxlite/dnsx/model/model.go
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
// Package model contains the dnsx model.
|
||||
package model
|
||||
|
||||
// HTTPSSvc is an HTTPSSvc reply.
|
||||
type HTTPSSvc struct {
|
||||
// ALPN contains the ALPNs inside the HTTPS reply
|
||||
ALPN []string
|
||||
|
||||
// IPv4 contains the IPv4 hints.
|
||||
IPv4 []string
|
||||
|
||||
// IPv6 contains the IPv6 hints.
|
||||
IPv6 []string
|
||||
}
|
||||
Loading…
Reference in a new issue