checkdnsrr

checkdnsrr

(PHP 4, PHP 5, PHP 7)

checkdnsrrCheck DNS records corresponding to a given Internet host name or IP address

Description

bool checkdnsrr ( string $host [, string $type = "MX" ] )

Searches DNS for records of type type corresponding to host.

Parameters

host

host may either be the IP address in dotted-quad notation or the host name.