checkdnsrr

(PHP 3, PHP 4 , PHP 5)

checkdnsrr --  Controlla i record DNS relativi ad un host Internet o indirizzo IP

Descrizione

int checkdnsrr ( string host [, string type])

Cerca i record DNS del tipo type corrispondenti a host. Restituisce vero se dei records sono trovati; falso se nessun record viene trovato o in caso di errore.

type puņ essere uno dei seguenti: A, MX, NS, SOA, PTR, CNAME, oppure ANY. Il default č MX.

Host puņ essere sia l'indirizzo IP in notazione decimale o il nome dell'host.

Nota: Questa funzione non č implementata su piattaforme Windows

Vedere anche getmxrr(), gethostbyaddr(), gethostbyname(), gethostbynamel() e la man page named(8).