gethostbynamel

(PHP3 , PHP4 )

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.