Re: [PHP3] Re: [PHP-DEV] Re: [PHP3] Re: [PHP-DEV] Re: [PHP3] CheckDNSRR failing on a valid domain
| From: | Manuel Lemos | Date: | Tue, 24 Aug 1999 00:41:40 +0000 |
| Subject: | Re: [PHP3] Re: [PHP-DEV] Re: [PHP3] Re: [PHP-DEV] Re: [PHP3] CheckDNSRR failing on a valid domain | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-10147@lists.php.net to get a copy of this message | ||
Hello Sascha,
On 23-Aug-99 15:43:48, you wrote:
>> But how do I retrieve an A record for a domain in PHP? It seems that I can
>> only get MX records, not A.
>gethostbyname
That only gets me a a IP address, not a host name. Before you tell it, I
already tried gethostbyaddr(gethostbyname("e-na.net")) but it fails.
>How about studying some DNS RFCs.
I did, but you know how RFCs are when you want to know something specific
you most likely get lost and not find at all what you are looking for.
Usually is quicker to ask to somebody that already knows where to find this
kinds of things.
Regards,
Manuel Lemos
Web Programming Components using PHP Classes.
Look at: http://phpclasses.UpperDesign.com/?user=mlemos@acm.org
--
E-mail: mlemos@acm.org
URL: http://www.mlemos.e-na.net/
PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp
--