Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


convert between email address to ip address

Posted on 2003-02-26
Medium Priority
Last Modified: 2008-03-06
I need the free convert between email address to ip address?
Question by:vlaspinas17
LVL 10

Accepted Solution

AndresM earned 100 total points
ID: 8024953
do you mean the email address domain?
just ping the domain. For eg:
in command line, ping domain.com and you will get the ip address.
hope this helps.

Assisted Solution

mblaivax earned 100 total points
ID: 8033443
Hello vlaspinas17,

usualy when you get mail from name@domain.com
In order to see IP of MX record (usually) you can type

ping mail.domain.com



Expert Comment

ID: 8033488
Eeeep, the last two comments are absolutely incorrect.

Ping will resolve the A record, assuming you don't have that name defined in your local cache already.

If you want to know what IP to establish an SMTP session to for a specific domain, you MUST perform an nslookup against the MX record for that domain.

In single server domains where the A record also happens to be what the MX is pointed at, then TCP 25 to that IP will get you a mail session.... but that is not the case for many (if not most) mail domains.

Keep in mind that MX should always refer to an A record - not a CName.

Keep in mind that a corresponding PTR should also be present for any address resolved by MX.

Expert Comment

ID: 8051733

Just to add to Satori's comments.
To do a lookup on an MX record, do the following:
Open a command prompt -> type nslookup.
Type: set qt=mx
Type: domainname.com
Look for the following in the results:
domain.com    MX preference = 10, mail exchanger = mailhost1.domain.com

Then do a ping to mailhost1.domain.com and this should resolve the IP address of the domains mail host. (Or mail relay).

Hope this helps,


Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…
Suggested Courses

572 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question