Showing posts with label nslookup. Show all posts
Showing posts with label nslookup. Show all posts

Friday, 15 May 2009

how to lookup an SMTP address

eust0202:root /root > nslookup -type=MX emea.aknark-net.com
Using /etc/hosts on: eust0202

looking up FILES
Trying DNS
emea.aknark-net.com
origin = nldc-00002.emea.aknark-net.com
mail addr = admin.emea.aknark-net.com
serial = 162022095
refresh = 900 (15M)
retry = 600 (10M)
expire = 86400 (1D)
minimum ttl = 3600 (1H)
eudt0202:root /root >

Tuesday, 10 February 2009

nslookup - it's your friend

unsure of a hostname or ip address - how can I find out the domain name associated with an IP number?

use nslookup


To find the domain name associated with an IP number, use the nslookup command. At the Unix shell prompt, enter nslookup followed by the IP address, for example:

nslookup 129.79.5.100
This command will return the following information:

Server: ns.indiana.edu
Address: 129.79.1.1

Name: ns2.indiana.edu
Address: 129.79.5.100

You can also specify a hostname on the command line to find out its IP number.

You can use the nslookup command interactively. For more information, at the Unix shell prompt, enter:

man nslookup