dns

package
v0.0.0-...-f92ddc6 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// maps Host (from request header) to destination Host
	Config *common.Config
}

returns the appropriate answer for any incoming DNS query

func (Handler) ServeDns

func (handler Handler) ServeDns(response dns.ResponseWriter, request *dns.Msg)

Jump to

Keyboard shortcuts

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