fakedns

package
v1.13.2 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// If fake dns response ttl is set to 1, 256 fake ips should be suffice.
	MinFakeIPCursor uint32 = 0xf1000000 // 241.0.0.0
	MaxFakeIPCursor uint32 = 0xf10000ff // 241.0.0.255
	FakeResponseTtl uint32 = 1          // in sec
)

Variables

This section is empty.

Functions

func NewSimpleFakeDns

func NewSimpleFakeDns() cdns.FakeDns

Types

This section is empty.

Jump to

Keyboard shortcuts

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