ooni-probe-cli/internal/netxlite/dnsx/dnsx.go

15 lines
342 B
Go
Raw Normal View History

// Package dnsx contains DNS extension types.
package dnsx
// HTTPSSvc is the reply to an HTTPS DNS query.
type HTTPSSvc struct {
// ALPN contains the ALPNs inside the HTTPS reply.
ALPN []string
// IPv4 contains the IPv4 hints (which may be empty).
IPv4 []string
// IPv6 contains the IPv6 hints (which may be empty).
IPv6 []string
}