Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DNSLookup ¶
DNSLookup performs a DNS lookup of a hostname (FQDN or hostname) to a specified DNS server.
Parameters: - hostname: A string representing the hostname or FQDN to be resolved. - dnsServer: A string representing the DNS server to use for the lookup.
Returns: - A slice of strings containing the IP addresses of the DNS server.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.