docs: List possible values for Result.DNSRCode

This commit is contained in:
TwiN 2022-06-16 18:50:40 -04:00
parent 5807d76c2f
commit e620fd1214

View File

@ -10,6 +10,8 @@ type Result struct {
HTTPStatus int `json:"status"` HTTPStatus int `json:"status"`
// DNSRCode is the response code of a DNS query in a human-readable format // DNSRCode is the response code of a DNS query in a human-readable format
//
// Possible values: NOERROR, FORMERR, SERVFAIL, NXDOMAIN, NOTIMP, REFUSED
DNSRCode string `json:"-"` DNSRCode string `json:"-"`
// Hostname extracted from Endpoint.URL // Hostname extracted from Endpoint.URL