dns

package
v0.19.155 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2021 License: Apache-2.0 Imports: 11 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