Documentation
¶
Index ¶
Constants ¶
View Source
const (
// DefaultMsgSize EDNS0 message size
DefaultMsgSize = 1536
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DNSHandler ¶
type DNSHandler struct {
// contains filtered or unexported fields
}
DNSHandler type
func (*DNSHandler) ServeDNS ¶
func (h *DNSHandler) ServeDNS(dc *ctx.Context)
ServeDNS implements the Handle interface.
func (*DNSHandler) ServeHTTP ¶
func (h *DNSHandler) ServeHTTP(dc *ctx.Context)
type Resolver ¶
type Resolver struct {
Lqueue *cache.LQueue
Qcache *cache.QueryCache
Ncache *cache.NSCache
Ecache *cache.ErrorCache
// contains filtered or unexported fields
}
Resolver type
Click to show internal directories.
Click to hide internal directories.