thedns

package
v0.0.0-...-370076f Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

README

thedns plugin can block/bypass/disable ipv4/disable ipv6 dns query for brook dnsoverbrook/dnsserver.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TheDNS

type TheDNS struct {
	BlockDomain  map[string]byte
	BypassDomain map[string]byte
	BypassDNS    string
	DisableA     bool
	DisableAAAA  bool
	Cache        *cache.Cache
}

func NewTheDNS

func NewTheDNS(blockDomainList, bypassDomainList, bypassDNS string, disableA, disableAAAA bool) (*TheDNS, error)

func (*TheDNS) TouchBrook

func (p *TheDNS) TouchBrook()

Jump to

Keyboard shortcuts

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