Parity123
asked on
DNS: assistance please
Hello,
How do I retrieve all the DNS servers in the 2008r2 forest, (all the dns servers in root and all child domains)
nslookup -type=ns domain1.com
returns only the dns servers in root
Please help.
How do I retrieve all the DNS servers in the 2008r2 forest, (all the dns servers in root and all child domains)
nslookup -type=ns domain1.com
returns only the dns servers in root
Please help.
ASKER
Is there a way to export this to a file
Just right click select Mark, highlight what you want to copy and <press enter>. Open Notepad and then paste the contents in there.
Will.
Will.
ASKER
There are 300+ entries
That is still manageable. All you need to do is increase your cmd prompt window height. From there it will give you more space vertically. You increase this by doing the following...
- open cmd
- top left corner, select properties
- select layout tab
- under "Screen Buffer Size" increase the height to like 3000
That will allow you to have plenty of scrolling space. Then proceed to copy.
Will.
- open cmd
- top left corner, select properties
- select layout tab
- under "Screen Buffer Size" increase the height to like 3000
That will allow you to have plenty of scrolling space. Then proceed to copy.
Will.
ASKER
One thing I noticed, in 1 forest it displays all the dns servers in all the child domains, and in the main production forest it displays only the dns servers in root domain. Any ideas.
I used the same commands as you had listed.
I used the same commands as you had listed.
ASKER
May be the Dns zone of the root domain is only in root domain wide and not forest wide and in the Dev forest zone that works, the devzone is replicated forest wide to all dns servers
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
- nslookup <press enter>
- set type=NS <press enter>
- rootdomain.com <press enter>
When you are using the root domain it will give you a list of all DNS servers in the root domain and child domains as well.
Will.