- Windows Hosting
- Linux Vs Windows Commands - Nslookup Host Hostname
This Page Contains information about Linux Vs Windows Commands - Nslookup Host Hostname By wallpaperama in category Windows Hosting with 2 Replies. Last Upated: Fri Jun 10, 2016 
Thu Jun 21, 2007
as a web admin myself, i sometimes need to troubleshoot my customer's website, and so one of the many commands i use frequently is the nslookup command and the host command in linux. if you are an admin, its important to know them both. if you want to know the dns and or ip information for a domain name you can do the host or the nslookup command
example. here i am going to do this command for yahoo
[root@ ~]# host yahoo.com
yahoo.com has address 126.96.36.199
yahoo.com has address 188.8.131.52
yahoo.com mail is handled by 1 f.mx.mail.yahoo.com.
yahoo.com mail is handled by 1 g.mx.mail.yahoo.com.
yahoo.com mail is handled by 1 a.mx.mail.yahoo.com.
yahoo.com mail is handled by 1 b.mx.mail.yahoo.com.
yahoo.com mail is handled by 1 c.mx.mail.yahoo.com.
yahoo.com mail is handled by 1 d.mx.mail.yahoo.com.
yahoo.com mail is handled by 1 e.mx.mail.yahoo.com.
[root@ ~]# host www.yahoo.com
www.yahoo.com is an alias for www.yahoo-ht3.akadns.net.
www.yahoo-ht3.akadns.net has address 184.108.40.206
C:\Documents and Settings\laptop>nslookup yahoo.com
DNS request timed out.
timeout was 2 seconds.
Addresses: 220.127.116.11, 18.104.22.168
i hope this helps. if you ever need linux or windows web hosting, visit www.webune.com they have excellent services.