Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DNSHandler ¶
func (*DNSHandler) ServeDNS ¶
func (h *DNSHandler) ServeDNS(w dns.ResponseWriter, r *dns.Msg)
ServeDNS will handle incoming dns requests and forward them onwards.
type DNSRequest ¶
type DNSRequest struct {
// contains filtered or unexported fields
}
func (*DNSRequest) Forward ¶
func (d *DNSRequest) Forward(domain string) (dnsRCode int)
Forwards DNS requests to the appropriate upstream server.
Click to show internal directories.
Click to hide internal directories.