thedns

package
v0.0.0-...-e1b7d04 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: GPL-3.0 Imports: 7 Imported by: 1

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
	BypassDNSClient *brook.DNSClient
	BypassDOHClient *brook.DOHClient
	DisableA        bool
	DisableAAAA     bool
	Cache           *cache.Cache
	Cache1          *cache.Cache
	DOHClient       *brook.DOHClient
}

func NewTheDNS

func NewTheDNS(blockDomainList, bypassDomainList, bypassDNS string, disableA, disableAAAA bool, doh string) (*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