Constantes prédefinies <<< |
checkdnsrr | closelog >>> |
7.67 Réseau 7 Index des fonctions Manuel PHP . Introduction . Pré-requis . Installation . Configuration à l'exécution . Types de ressources . Constantes prédefinies ->checkdnsrr . closelog . debugger_off . debugger_on . define_syslog_variables . dns_check_record . dns_get_mx . dns_get_record . fsockopen . gethostbyaddr . gethostbyname . gethostbynamel . getmxrr . getprotobyname . getprotobynumber . getservbyname . getservbyport . ip2long . long2ip . openlog . pfsockopen . socket_get_status . socket_set_blocking . socket_set_timeout . syslog |
7.67.7 checkdnsrr()Résolution DNS d'une adresse IP[ Exemples avec checkdnsrr ] PHP 3, PHP 4 int checkdnsrr ( string host , string type )checkdnsrr recherche l'enregistrement DNS de type type correspondant à l'hôte host . Retourne TRUE si un record a été trouvé, et FALSE en cas d'erreur ou d'échec. type peut être l'une des valeurs suivantes : A, MX, NS, SOA, PTR, CNAME, AAAA, ou ANY. La valeur par défaut est MX. host peut être soit une adresse IP au format numérique, ou un nom d'hôte.
Voir aussi getmxrr , gethostbyaddr , gethostbyname , gethostbynamel et la page de manuel named(8). |
<< | checkdnsrr | >> |
Constantes prédefinies | Réseau | closelog |