ecs

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MaxUDPSize max udp packet size in edns0
	MaxUDPSize = 1480
)

Variables

This section is empty.

Functions

func CheckMsgHasECS

func CheckMsgHasECS(m *dns.Msg) bool

func NewEDNS0SubnetFromStr

func NewEDNS0SubnetFromStr(s string) (*dns.EDNS0_SUBNET, error)

func SetECS

func SetECS(m *dns.Msg, ecs *dns.EDNS0_SUBNET) *dns.Msg

Types

This section is empty.

Jump to

Keyboard shortcuts

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