dns

package
v0.11.5 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleDnsConn added in v0.7.0

func HandleDnsConn(conn Conn) error

func Hijack added in v0.6.8

func Hijack(_ string) error

func Resume added in v0.6.8

func Resume(_ string) error

func UpdateDnsMap added in v0.11.0

func UpdateDnsMap(local, remote, boost cResolver.Resolver)

Types

type Conn

type Conn interface {
	ReadFrom([]byte) (int, net.Addr, error)
	WriteTo([]byte, net.Addr) (int, error)
}

Jump to

Keyboard shortcuts

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