Looking up DNS records
| From: | Jonathan Hilgeman | Date: | Mon, 05 Nov 2001 16:42:39 +0000 |
| Subject: | Looking up DNS records | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-73501@lists.php.net to get a copy of this message | ||
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