all: add DNS Stamps support

See: https://dnscrypt.info/stamps-specifications
This commit is contained in:
Cuong Manh Le
2024-09-17 20:42:27 +07:00
committed by Cuong Manh Le
parent 08fe04f1ee
commit 282a8ce78e
7 changed files with 170 additions and 2 deletions

View File

@@ -30,6 +30,9 @@ const (
ResolverTypeLegacy = "legacy"
// ResolverTypePrivate is like ResolverTypeOS, but use for local resolver only.
ResolverTypePrivate = "private"
// ResolverTypeSDNS specifies resolver with information encoded using DNS Stamps.
// See: https://dnscrypt.info/stamps-specifications/
ResolverTypeSDNS = "sdns"
)
const (