Re: [PHP3] Re: [PHP-DEV] Re: [PHP3] CheckDNSRR failing on a valid domain
| From: | Manuel Lemos | Date: | Mon, 23 Aug 1999 04:28:09 +0000 |
| Subject: | 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-10091@lists.php.net to get a copy of this message | ||
Hello Sascha,
On 22-Aug-99 11:18:37, you wrote:
>> > Right, but I may send messages to mlemos@e-na.net and they get delivered.
>The normal MTA process to deliver to a@b
>1. Are there any MX records for b?
>2a. Yes:
> Retrieve list, store list, sort by priority, try each host
> beginning with the one with the highest priority (=lowest
> number in the MX record)
>2b. No:
> Retrieve A record for b and try to send it to there
>3. If email was not sent successfully, wait time T and go to 1
But how do I retrieve an A record for a domain in PHP? It seems that I can
only get MX records, not A.
>> > But, is there any rule/RFC that tells to look for mail.domain when you
>> > don't find a MX record, or was that a logic guess that you made?
>RFC 974, "MAIL ROUTING AND THE DOMAIN SYSTEM"
Thank you.
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
--