Documentation ¶ Index ¶ func NewServer(conf *udp.DNS, s service.Answering) udp.Server Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewServer ¶ func NewServer(conf *udp.DNS, s service.Answering) udp.Server NewServer returns a github.com/miekg/dns implementation of udp.Server It takes in a DNS that serves as configuration, and a service.Answering interface to perform the necessary calls alongside the record store, returning a udps as a udp.Server Types ¶ This section is empty. Source Files ¶ View all Source files dns.go handler.go server.go Click to show internal directories. Click to hide internal directories.