View definition

func ProblemDetailsFromDNSError

Defined in


ProblemDetailsFromDNSError checks the error returned from Lookup... methods and tests if the error was an underlying net.OpError or an error caused by resolver returning SERVFAIL or other invalid Rcodes and returns the relevant core.ProblemDetails. The detail string will contain a mention of the DNS record type and domain given.

ProblemDetailsFromDNSError is referenced in 1 repository