dns

package
v0.43.7 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlocklistLookupAddr

func BlocklistLookupAddr(addr string) (bool, error)

func ReverseIP

func ReverseIP(addr string) (string, error)

Types

type DOHClient

type DOHClient struct {
	Client *http.Client
	URL    *url.URL
}

func NewDOHClient

func NewDOHClient(url *url.URL) *DOHClient

func (*DOHClient) Exchange

func (c *DOHClient) Exchange(msg *dns.Msg) (*dns.Msg, error)

Jump to

Keyboard shortcuts

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