inbound

package
v0.0.0-...-874f226 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2019 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 {
	BindAddress string
	HTTPAddress string

	Dispatcher outbound.Dispatcher

	RejectQtype []uint16
}

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)

Jump to

Keyboard shortcuts

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