Specifying the DNS Server on the command line when using nslookup

source: http://blog.joeware.net/2008/11/13/1501/

You can actually specify the DNS server used to resolve the name you want resolved by specifying it after the name on the command line… For example:

C:\>nslookup login.oscar.aol.com
Server:  dsldevice.lan
Address:  192.168.1.254

Non-authoritative answer:
Name:    login.messaging.aol.com
Address:  205.188.179.233
Aliases:  login.oscar.aol.com

C:\>nslookup login.oscar.aol.com dns-01.ns.aol.com
Server:  dns-01.ns.aol.com
Address:  64.12.51.132

Name:    login.messaging.aol.com
Address:  64.12.200.89
Aliases:  login.oscar.aol.com

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s