package
0.9.10
Repository: https://github.com/skrishna-unix/coredns.git
Documentation: pkg.go.dev

# Functions

CoreDNSServer returns a CoreDNS test server.
CoreDNSServerAndPorts combines CoreDNSServer and CoreDNSServerPorts to start a CoreDNS server and returns the udp and tcp ports of the first instance.
CoreDNSServerPorts returns the ports the instance is listening on.
CoreDNSServerStop stops a server.
NewInput returns a pointer to Input, containing the corefile string as input.
TempFile will create a temporary file on disk and returns the name and a cleanup function to remove it later.

# Structs

Input implements the caddy.Input interface and acts as an easy way to use a string as a Corefile.