gethostbynamel

(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)

gethostbynamel --  Get a list of IP addresses corresponding to a given Internet host name

Description

array gethostbynamel (string hostname)

Returns a list of IP addresses to which the Internet host specified by hostname resolves.

See also gethostbyname(), gethostbyaddr(), checkdnsrr(), getmxrr(), and the named(8) manual page.