dns

package
v0.0.0-...-53eedaf Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2020 License: BSD-3-Clause Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

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