Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfiguredServers ¶
ConfiguredServers returns DNS server IPs from the system DNS configuration.
func ResolveViaSystem ¶
ResolveViaSystem creates proxying DNS handler.
func WhitelistAnswers ¶
func WhitelistAnswers( resolver dns.Handler, trafficBlocker firewall.IncomingTrafficFirewall, policies policy.Provider, ) dns.Handler
WhitelistAnswers creates a DNS handler that whitelist resolved queries to firewall.
Types ¶
Click to show internal directories.
Click to hide internal directories.