From 386ef03be3c1e8b183a70b2fc7048fd6e8ca2f79 Mon Sep 17 00:00:00 2001 From: Lee Clagett Date: Sun, 6 Dec 2020 16:59:08 -0500 Subject: Add TLSA support to DNSSEC fetching --- src/net/error.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/net/error.h') diff --git a/src/net/error.h b/src/net/error.h index 7c852dd20..746eb0ecb 100644 --- a/src/net/error.h +++ b/src/net/error.h @@ -37,13 +37,16 @@ namespace net enum class error : int { // 0 reserved for success (as per expect) - expected_tld = 1, //!< Expected a tld + bogus_dnssec = 1, //!< Invalid response signature from DNSSEC enabled domain + dns_query_failure, //!< Failed to retrieve desired DNS record + expected_tld, //!< Expected a tld invalid_host, //!< Hostname is not valid invalid_i2p_address, + invalid_mask, //!< Outside of 0-32 range invalid_port, //!< Outside of 0-65535 range invalid_tor_address,//!< Invalid base32 or length unsupported_address,//!< Type not supported by `get_network_address` - invalid_mask, //!< Outside of 0-32 range + }; //! \return `std::error_category` for `net` namespace. -- cgit v1.2.3