Link to home
Start Free TrialLog in
Avatar of raffie613
raffie613

asked on

nslookup of second dns server

I have 2 dc andboth are dns servers,however when i do nslookup from a workstation, i only get one server showing up.
Avatar of Neil Russell
Neil Russell
Flag of United Kingdom of Great Britain and Northern Ireland image

from a command prompt type in....

nslookup
set type=ALL
yourdomainname <----- Your actual domain name here. i.e. MyDomain.Local

What does that output?
ASKER CERTIFIED SOLUTION
Avatar of abhijitwaikar
abhijitwaikar
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Sandesh Dubey
If you want to test the second dns is working or not you can use nslookup command.
First it will return primary DNS server IP address and name.Later you can put the second server name or IP adress to check if the name resolution is working or not.
Below is the example:
 C:\> nslookup
   Default Server:  nameserver1.domain.com
   Address:  10.0.0.1
   >name of second dns or ip address
If you want to use NSLOOKUP to query the 2nd DNS server from a workstation?
By default your 1st DNS server is listed, so your DNS lookups are run against that server.
If you want to query the 2nd or any other DNS server then simply do the following>

run NSLOOKUP in a command prompt.
then enter the following:
server <<my other DNS Server>>
where <<my other DNS Server>> is the name or IP address of your 2nd/external DNS server.

Run your lookups as normal and you will be querying the database on the 2nd/external DNS server.