print friendly version

Questions and answers

How can I check that the domain in an email address is correct?

The domain is that part of an email address to the right of the @ symbol.  For example, in the address, is the domain.

Login to the central Unix computer and enter the following commands:

/usr/bin/nslookup (then press Enter)
set type=mx
(then press Enter)
type in the address's domain (then press Enter)

For example, to check if can receive mail, type:

set type=mx

If you see information something like:

no address information available for


No mail exchanger (MX) records available for

It means that that site cannot accept email. 

If you forget to enter set type=mx then you will be told 'no address information', even if can actually accept email.

When you have finished, type:

exit  (then press Enter)

It is not possible to use nslookup to look up the local part, or the personal part of the mail address, that is the part to the left of the @ sign.

Help us to improve this answer

Please suggest an improvement
(login needed, link opens in new window)

Your views are welcome and will help other readers of this page.


This is question number 520, which appears in the following categories:

Created by Caroline House on 27 July 2001 and last updated by Richard Byrom-Colburn on 26 September 2016