mirror of
https://github.com/macintoshplus/doc-fr.git
synced 2026-04-28 03:03:19 +02:00
5cc1083a8e
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@166905 c90b9560-bf6c-de11-be94-00142212c4b1
78 lines
2.4 KiB
XML
78 lines
2.4 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.11 $ -->
|
|
<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready -->
|
|
<refentry id="function.checkdnsrr">
|
|
<refnamediv>
|
|
<refname>checkdnsrr</refname>
|
|
<refpurpose>Résolution DNS d'une adresse IP</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>
|
|
<function>checkdnsrr</function> recherche l'enregistrement DNS de type
|
|
<parameter>type</parameter> correspondant à l'hôte
|
|
<parameter>host</parameter>. Retourne &true; si un enregistrement a été
|
|
trouvé, et &false; en cas d'erreur ou d'échec.
|
|
</simpara>
|
|
<simpara>
|
|
<parameter>type</parameter> peut être l'une des valeurs suivantes :
|
|
PTR, CNAME, AAAA, A6, SRV, NAPTR ou ANY. La valeur par défaut est MX.
|
|
</simpara>
|
|
<simpara>
|
|
<parameter>host</parameter> peut être soit une adresse IP au format
|
|
numérique, ou un nom d'hôte.
|
|
</simpara>
|
|
<para>
|
|
<note>
|
|
<simpara>
|
|
Le type AAAA a été ajouté en &php; 5.0.0.
|
|
</simpara>
|
|
</note>
|
|
</para>
|
|
<para>
|
|
<note>
|
|
<simpara>
|
|
Cette fonction n'est pas disponible sur les machines Windows.
|
|
Pour la remplacer, essayez la classe <ulink url="&url.php.pear;">PEAR</ulink> :
|
|
<ulink url="&url.pear.package;Net_DNS">Net_DNS</ulink>.
|
|
</simpara>
|
|
</note>
|
|
</para>
|
|
<simpara>
|
|
Voir aussi
|
|
<function>dns_get_record</function>,
|
|
<function>getmxrr</function>,
|
|
<function>gethostbyaddr</function>,
|
|
<function>gethostbyname</function>,
|
|
<function>gethostbynamel</function> et
|
|
la page de manuel named(8).
|
|
</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
|
|
-->
|