Interface DNS
access this type via: net.dns.DNS (provides, requires or uses)
Get the IP address associated with a host name, using the DNS service.
Functions
char[] getHostIP(char hostname[])
char[] getHostIP(char hostname[])
Use DNS to convert a host name to an IP address.
returns: IP address, as a string (may be in IPv4 or IPv6 format). Returns null if the host name could not be resolved to an IP address.