Documentation ¶ Overview ¶ Package inbound implements dns server for inbound connection. Index ¶ type Server func NewServer(bindAddress string, debugHTTPAddress string, dispatcher outbound.Dispatcher, ...) *Server func (s *Server) DumpCache(w http.ResponseWriter, req *http.Request) func (s *Server) Run() func (s *Server) ServeDNS(w dns.ResponseWriter, q *dns.Msg) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Server ¶ type Server struct { // contains filtered or unexported fields } func NewServer ¶ func NewServer(bindAddress string, debugHTTPAddress string, dispatcher outbound.Dispatcher, rejectQType []uint16) *Server func (*Server) DumpCache ¶ func (s *Server) DumpCache(w http.ResponseWriter, req *http.Request) func (*Server) Run ¶ func (s *Server) Run() func (*Server) ServeDNS ¶ func (s *Server) ServeDNS(w dns.ResponseWriter, q *dns.Msg) Source Files ¶ View all Source files server.go Click to show internal directories. Click to hide internal directories.