2021-09-29 20:21:25 +02:00
|
|
|
// Package dnsx contains DNS extension types.
|
2021-09-28 12:42:01 +02:00
|
|
|
package dnsx
|
2021-09-27 23:09:41 +02:00
|
|
|
|
2021-09-29 20:21:25 +02:00
|
|
|
// HTTPSSvc is the reply to an HTTPS DNS query.
|
2021-09-27 23:09:41 +02:00
|
|
|
type HTTPSSvc struct {
|
2021-09-29 20:21:25 +02:00
|
|
|
// ALPN contains the ALPNs inside the HTTPS reply.
|
2021-09-27 23:09:41 +02:00
|
|
|
ALPN []string
|
|
|
|
|
2021-09-29 20:21:25 +02:00
|
|
|
// IPv4 contains the IPv4 hints (which may be empty).
|
2021-09-27 23:09:41 +02:00
|
|
|
IPv4 []string
|
|
|
|
|
2021-09-29 20:21:25 +02:00
|
|
|
// IPv6 contains the IPv6 hints (which may be empty).
|
2021-09-27 23:09:41 +02:00
|
|
|
IPv6 []string
|
|
|
|
}
|