dns

package
v0.17.19 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2020 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resolver

type Resolver interface {
	AddHostname(string, net.IP) error
	RemoveHostname(string, net.IP) error
	Cleanup() error
}

func NewDnsServer

func NewDnsServer(addr string) Resolver

func NewHostFile

func NewHostFile(path string) Resolver

func NewResolver

func NewResolver(config string) Resolver

Jump to

Keyboard shortcuts

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