On lördag, maj 24, 2003, at 22:21 Europe/Stockholm, Brad Knowles wrote:
At 5:52 PM +0200 2003/05/24, Patrik Fältström wrote:
- Look up all A records for each MX - Look up all IP addresses for each A - Try to connect to port 25 for every A (every A must respond, but only one IP address per A)
A records *are* IP addresses. Do you mean reverse lookups?
Grrr....it was very much evening when I wrote it. The above doesn't make sense. What I do is: (1) Query for all MX records, and get back domain names (2) Query for all A records for every domain name (3) Try to connect to port 25 for every domain name one have I.e. "look up all A records for each MX" means "gather all domain names from all MX records". Yes, I know it didn't make any sense. Sorry. The code is available at http://dnscheck.paf.se/ paf