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.
Active Directory

Avatar of undefined
Last Comment
Leon Fester

8/22/2022 - Mon
Neil Russell

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
abhijitwaikar

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
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
Leon Fester

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.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23