Closed ncruces closed 4 years ago
Both NewHTTPSResolver and NewTLSResolver panic on name resolution if no server addresses are provided.
NewHTTPSResolver
NewTLSResolver
Either validate that at least one server address is provided, or try DoT/DoH on the system's provided nameserver.
Both
NewHTTPSResolver
andNewTLSResolver
panic on name resolution if no server addresses are provided.Either validate that at least one server address is provided, or try DoT/DoH on the system's provided nameserver.