inbound

package
Version: v1.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package inbound implements dns server for inbound connection.

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL