mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-20 19:08:54 +00:00

lack of support in windows resolver library) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@109955 c90b9560-bf6c-de11-be94-00142212c4b1
78 lines
2.3 KiB
XML
78 lines
2.3 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.4 $ -->
|
|
<!-- splitted from ./en/functions/network.xml, last change in rev 1.2 -->
|
|
<refentry id="function.checkdnsrr">
|
|
<refnamediv>
|
|
<refname>checkdnsrr</refname>
|
|
<refpurpose>
|
|
Check DNS records corresponding to a given Internet host name or
|
|
IP address
|
|
</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>int</type><methodname>checkdnsrr</methodname>
|
|
<methodparam><type>string</type><parameter>host</parameter></methodparam>
|
|
<methodparam choice="opt"><type>string</type><parameter>type</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<simpara>
|
|
Searches DNS for records of type <parameter>type</parameter>
|
|
corresponding to <parameter>host</parameter>. Returns &true; if any
|
|
records are found; returns &false; if no records were found or if
|
|
an error occurred.
|
|
</simpara>
|
|
<simpara>
|
|
<parameter>type</parameter> may be any one of: A, MX, NS, SOA,
|
|
PTR, CNAME, AAAA, or ANY. The default is MX.
|
|
</simpara>
|
|
<simpara>
|
|
<parameter>Host</parameter> may either be the IP address in
|
|
dotted-quad notation or the host name.
|
|
</simpara>
|
|
<para>
|
|
<note>
|
|
<simpara>
|
|
AAAA type added with PHP 4.3.0
|
|
</simpara>
|
|
</note>
|
|
</para>
|
|
<para>
|
|
<note>
|
|
<simpara>
|
|
This function is not implemented on Windows platforms. Try the
|
|
<ulink url="&url.php.pear;">PEAR</ulink> class
|
|
<ulink url="&url.pear.net-dns;">Net_DNS</ulink>.
|
|
</simpara>
|
|
</note>
|
|
</para>
|
|
<simpara>
|
|
See also <function>getmxrr</function>,
|
|
<function>gethostbyaddr</function>,
|
|
<function>gethostbyname</function>,
|
|
<function>gethostbynamel</function>, and the named(8) manual
|
|
page.
|
|
</simpara>
|
|
</refsect1>
|
|
</refentry>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"../../../../manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|