How to test DNS and MAIL server configurations

      Comments Off on How to test DNS and MAIL server configurations

server_picture_servers So today i need to make some DNS and Mail server MX record test with some Spam databases verifications.

I want to share some tips to test yourself the DNS records, MX record and Spam lists with Online tools and local tools.

Sometimes is very usefull for testing some internet services and of course the spam list status, maybe can help you to skip the unwanted situations.

In this case the following tips is very useful.

A. Online Test Tools

  1. www.mxtoolbox.com : MX, DNS, SPAM blacklist test
  2. Dnsbl.info : DNS, SPAM blacklist
  3. http://www.checkdns.net/quickcheckdomainf.aspx : DNS detailed
  4. http://www.dnsgoodies.com/ : Whois, DNS, ReverseDns, OpenRelay, TraceRoute
  5. http://www.dnsstuff.com/tools/tools/ : Whois, DNS, DNSreport, MailServer test,  Country IP with some ADVANCED payable tools.
  6. http://www.zoneedit.com/lookup.html : DNS, Email test
  7. http://www.lookupserver.com : DNS, Reverse- Forward DNS, MX

B. Local Tools РWindows: NSLOOKUP

Its is a default program in all Microsoft Windows Systems. Some useful verifications using OpenDNS servers.

Default command:

nslookup [-option] [hostname] [server]

Test all DNS records:

nslookup
> server 208.67.222.222
> set type=all
> mydomainname.com

Test for MX:

nslookup
> server 208.67.222.222
> set type=mx
> mydomainname.com

Test for PRT:

nslookup
> server 208.67.222.222
> set type=PTR
> mydomainname.com

Test with debug mode:

nslookup
> server 208.67.222.222
> set type=all
> set debug
> mydomainname.com

More infos: http://support.microsoft.com/kb/200525

C. Local Tools – Linux

1. NSLOOKUP – like the Windows
2. DIG

Default command:

dig [ @server ] [ -b address ] [ -c class ] [ -f filename ] [ -k filename ] [ -p port# ] [ -t type ] [ -x addr ] [ -y name:key ] [ name ] [ type ] [ class ] [ queryopt... ]

Test with outside NS server + ANY record:

dig @208.67.222.222 mydomainname.com ANY

Test with outside NS server + MX:

dig @208.67.222.222 mydomainname.com MX

Test with Debug::

dig +qr @208.67.222.222 mydomainname.com ANY