Documentation ¶
Overview ¶
Package proxyutil contains helper functions that are used in all other dnsproxy packages
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendIPAddrs ¶
AppendIPAddrs appends the IP addresses got from dns.RR to the specified array
func ContainsIP ¶ added in v0.28.0
ContainsIP checks if the specified IP is in the array
func GetIPFromDNSRecord ¶ added in v0.27.0
GetIPFromDNSRecord - extracts IP address for a DNS record returns null if the record is of a wrong type
func HaveAdminRights ¶ added in v0.26.0
HaveAdminRights checks if the current user has root (administrator) rights
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.