RE: [PHP] Looking up DNS records
| From: | James | Date: | Mon, 05 Nov 2001 20:41:41 +0000 |
| Subject: | RE: [PHP] Looking up DNS records | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-73516@lists.php.net to get a copy of this message | ||
That should be easy, I would think.
Make an array with your NS servers...
$array[0] = ns1
$array[1] = ns2
$array[2] = ns3
and so on.
Then, get the size of an array, and randomly pick (or loop through) a
server in the array.
Shouldn't that work to get a different NS server each time?
- James
-----Original Message-----
From: Jonathan Hilgeman [mailto:jhilgeman@ecx.com]
Sent: Monday, November 05, 2001 12:08 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Looking up DNS records
I WANT to distribute it over multiple NS servers. That would be great,
but I
don't know how to with the existing PHP functions...
- Jonathan
"James" <james@kathweb.net> wrote in message
news:000d01c1661c$28a27f20$82e53181@jamesdesktop...
> Could you just push it slower into the nameserver? Or distribute over
> multiple NS servers?
>
> - James
>
> -----Original Message-----
> From: Jonathan Hilgeman [mailto:jhilgeman@ecx.com]
> Sent: Monday, November 05, 2001 11:43 AM
> To: php-general@lists.php.net
> Subject: [PHP] Looking up DNS records
>
> Hi,
> I'm trying to weed out some old addresses from a huge, old
subscriber's
> list. Right now I have a script pulling 100 e-mail addresses, doing a
> thorough Regex->DNS->MX->SMTP Socket validation on each one. However,
> the
> DNS and MX record lookups are killing my name server since there are
so
> many
> of them and I can't specify a different name server to use for looking
> up
> these things.
>
> In any case:
> 1) Does anyone have a pre-written, better function for looking up DNS
> and MX
> records?
> 2) If not, how could I create my own (I'm not sure what information I
> need
> to retrieve for validation)
>
> - Jonathan
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail:
php-list-admin@lists.php.net
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net