Back to

Package dnsserver

Latest Go to latest

The latest major version is .

Published: Jul 19, 2020 | License: Apache-2.0 | Module:


type ForwardServer

type ForwardServer struct {
	// contains filtered or unexported fields

func NewForwardServer

func NewForwardServer(modOptions ...ModOption) *ForwardServer

func (*ForwardServer) Handler

func (f *ForwardServer) Handler(writer dns.ResponseWriter, msg *dns.Msg)

type ModOption

type ModOption func(option *Option)

type Option

type Option struct {
	Protocol string

	ClientIP string
	Client   *http.Client
	// contains filtered or unexported fields

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier