//
pkg.gl
Category
github.com/skrishna-unix/coredns
plugin
pkg
dnstest
package
0.9.10
Repository:
https://github.com/skrishna-unix/coredns.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
0
Files
71 SLOC
#
Functions
NewRecorder
NewRecorder makes and returns a new Recorder, which captures the DNS rcode from the ResponseWriter and also the length of the response message written through it.
NewServer
NewServer starts and returns a new Server.
#
Structs
Recorder
Recorder is a type of ResponseWriter that captures the rcode code written to it and also the size of the message written in the response.
Server
A Server is an DNS server listening on a system-chosen port on the local loopback interface, for use in end-to-end DNS tests.