checkdnsrr(3) php man page | unix.com

Query: checkdnsrr

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

CHECKDNSRR(3)								 1							     CHECKDNSRR(3)

checkdnsrr - Check DNS records corresponding to a given Internet host name or IP address

SYNOPSIS
bool checkdnsrr (string $host, [string $type = "MX"])
DESCRIPTION
Searches DNS for records of type $type corresponding to $host.
PARAMETERS
o $host -$host may either be the IP address in dotted-quad notation or the host name. o $type -$type may be any one of: A, MX, NS, SOA, PTR, CNAME, AAAA, A6, SRV, NAPTR, TXT or ANY.
RETURN VALUES
Returns TRUE if any records are found; returns FALSE if no records were found or if an error occurred.
CHANGELOG
+--------+---------------------------------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------------------------------+ | 5.3.0 | | | | | | | This function is now available on Windows plat- | | | forms. | | | | | 5.2.4 | | | | | | | TXT $type was added. | | | | +--------+---------------------------------------------------+
NOTES
Note For compatibility with Windows before this was implemented, then try the PEAR class Net_DNS.
SEE ALSO
dns_get_record(3), getmxrr(3), gethostbyaddr(3), gethostbyname(3), gethostbynamel(3), the named(8) manual page. PHP Documentation Group CHECKDNSRR(3)
Related Man Pages
host(1m) - opensolaris
checkdnsrr(3) - php
dns_get_record(3) - php
host(1) - x11r4
host(1) - xfree86
Similar Topics in the Unix Linux Community
Display multiple output lines
replacing space with pipe(delimiter)
Need script to convert TXT file into CSV
Quick way to select many records from a large file
Finding records NOT on another file