Nslookup command is used to test the Dns , Queries a name server for a host or domain lookup.NSLOOKUP was originally written on a Unix system, and so is easily run on most Linux variants by simply typing “nslookup” on the command line. On Windows systems you need to search your computer for the program “nslookup.exe”.

please see the below example

[root@pds4 ~]# nslookup
> yahoo.com
Server:         172.16.1.30
Address:        172.16.1.30#53

Non-authoritative answer:
Name:   yahoo.com
Address: 209.131.36.159
Name:   yahoo.com
Address: 209.191.93.53
Name:   yahoo.com
Address: 69.147.114.224
>

Post By Editor (2,827 Posts)

Website: →

Connect