resolver
Name
resolver - fully iterative DNSSEC-enabled resolver based on resolver-lib with support for post quantum cryptography.
Description
CoreDNS supported resolving trough the forward plugin but did not have a dedicated iterative resolver.
This resolver plugin adds that functionality. The underlying library has support for DoQ (with 0-RTT) and DoT.
[!NOTE]
By default, we replace the standard miekg/dns module with mr-torgue/dns which is PQC-enabled.
If you don't want this, remove the replace statement (replace github.com/miekg/dns => github.com/mr-torgue/dns v1.2.1) in go.mod and it should use the default.
[!NOTE]
When running go test, the mldsa44 tests will fail, unless the replace statement is activated.
Compilation
This package will always be compiled as part of CoreDNS and not in a standalone way. It will require you to use go get or as a dependency on plugin.cfg.
The manual will have more information about how to configure and extend the server with external plugins.
A simple way to consume this plugin, is by adding the following on plugin.cfg, and recompile it as detailed on coredns.io.
example:github.com/coredns/example
Put this early in the plugin list, so that example is executed before any of the other plugins.
After this you can compile coredns by:
go generate
go build
Or you can instead use make:
make
Syntax
The following options are supported:
resolver {
timeout [TimeString] (default "1s")
hints [Filename] (default "named.root")
anchor [Filename] (default "root-anchors.xml")
udpsize: [Uint] (default 1232)
dnsport: [Uint] (default 53)
doqport: [Uint] (default 853)
dotport: [Uint] (default 8853)
clientType [String] (default "udp")
nofallback
nodnssec
notlsverify
nocache
notlscache
nopqcmode
log
}
Metrics
TBD
Ready
This plugin reports readiness to the ready plugin. It will be immediately ready.
Examples
TBD
Also See
See the manual.