Documentation ¶ Index ¶ type DnsServer func New(domain, addr string, rr rrstore.RRReader, recurse bool, nameservers []string) *DnsServer Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type DnsServer ¶ type DnsServer struct { *dns.Server // contains filtered or unexported fields } func New ¶ func New(domain, addr string, rr rrstore.RRReader, recurse bool, nameservers []string) *DnsServer New creates a DnsServer ready to serve queries for the specified domain on the given host:port using the specified DNS Resource Record table as the source of truth. Source Files ¶ View all Source files server.go Click to show internal directories. Click to hide internal directories.