Unverified Commit 64e52be0 authored by vyzo's avatar vyzo Committed by GitHub

update comments

Co-authored-by: default avatarMarcin Rataj <lidel@lidel.org>
parent f1485954
......@@ -2,6 +2,14 @@ package config
// DNSConfig specifies DNS resolution rules using custom resolvers
type DNSConfig struct {
// CustomResolvers is a map of FQDNs to URLs for custom DNS resolution.
// Resolvers is a map of FQDNs to URLs for custom DNS resolution.
// URLs starting with `https://` indicate DoH endpoints.
// Support for other resolver types can be added in the future.
// https://en.wikipedia.org/wiki/Fully_qualified_domain_name
// https://en.wikipedia.org/wiki/DNS_over_HTTPS
//
// Example:
// - Custom resolver for ENS: `eth.` → `https://eth.link/dns-query`
// - Override the default OS resolver: `.` → `https://doh.applied-privacy.net/query`
Resolvers map[string]string
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment