Documentation
¶
Overview ¶
Package dns provides DNS-related utilities, including DNS-over-HTTPS and IP reverse lookups.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlocklistLookupAddr ¶
BlocklistLookupAddr checks if the given IP address is listed in the Spamhaus blocklist.
Types ¶
type DOHClient ¶
DOHClient describes a DNS over HTTPS client.
func NewDOHClient ¶
NewDOHClient creates a new DNS over HTTPS client with the provided URL.
Click to show internal directories.
Click to hide internal directories.