Solved

Find domain controller name of the Trusted domain

Posted on 2013-10-29
5
625 Views
Last Modified: 2013-10-30
We have 2 way Transitive Trust with another domain. How can I find the name of any domain controller in the Trusted domain?

Thanks
0
Comment
Question by:jskfan
  • 2
  • 2
5 Comments
 
LVL 53

Assisted Solution

by:Will Szymkowski
Will Szymkowski earned 200 total points
ID: 39610333
All you need to do is type nslookup <domain.com>

This will give you all of the authoritative DC/DNS servers available.

It will give you the IP addresses which then you can simply do ping -a <ip> and this will return the Name of the server.

Example
Ping -a 192.168.100.1

Will.
0
 
LVL 24

Accepted Solution

by:
Sandeshdubey earned 300 total points
ID: 39610349
To list all the domain controllers in the trusted domain, try below command
netdom query /d:trusteddomainname DC

eg netdom query /d:Northamerica DC

See this too:http://www.vyapin.com/products/windows-audit/help-topics/built-in-reports/domain-trust-relationship-reports.htm
0
 

Author Comment

by:jskfan
ID: 39611902
netdom query /d:trusteddomainname DC
it works for the domain I am logged in, but the one I want to query , I have different username and password . So how do I add username and password to the above command
0
 
LVL 24

Expert Comment

by:Sandeshdubey
ID: 39611975
Add your user to domain admin group or adminsitrator group of trusted domain so you will have permission and the above command should work.
0
 

Author Closing Comment

by:jskfan
ID: 39612270
it worked Thanks
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You may have a outside contractor who comes in once a week or seasonal to do some work in your office but you only want to give him access to the programs and files he needs and keep privet all other documents and programs, can you do this on a loca…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question