From e620fd1214cf99bb3b8b168089c252795f439f24 Mon Sep 17 00:00:00 2001 From: TwiN Date: Thu, 16 Jun 2022 18:50:40 -0400 Subject: [PATCH] docs: List possible values for Result.DNSRCode --- core/result.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/result.go b/core/result.go index 25904a71..12142fca 100644 --- a/core/result.go +++ b/core/result.go @@ -10,6 +10,8 @@ type Result struct { HTTPStatus int `json:"status"` // 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:"-"` // Hostname extracted from Endpoint.URL