Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetIPs ¶
func GetIPs(logger *zap.Logger, dnsServer net.IP, domains []string) (ips []net.IP, changed bool, err error)
GetIPs returns IP address for domains. The IP address include both currently resolved addresses from the DNS, and any addresses from previously seen records that haven't expired.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.