Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 474
  • Last Modified:

Find all servers which have a DNS server in static IP. We want to de-commission the DNS server

Hi all,

We have hundreds of servers which have static IP (and thus static DNS)
we need to remove the server (also an old 2003 DC) from the AD domain.

Is the a scanner - or a powershell command that can tell me - all of the servers that have this old DNS server IP set for their adaptor?

I dont want to manually check them all - many may not have the old DNS server set.

thanks
0
philb19
Asked:
philb19
  • 2
1 Solution
 
vverduraCommented:
Run Wireshark in the DNS server and capture traffic related to DNS resolution
0
 
Thomas GrassiSystems AdministratorCommented:
Here is a idea for you

psexec \\ServerA ipconfig /all

psexec is from the system internal tools

http://technet.microsoft.com/en-us/sysinternals/bb842062.aspx

you could create a simple script.

@echo off
psexec \\ServerA ipconfig /all >c:\ip.txt
psexec \\ServerB ipconfig /all >>c:\ip.txt
psexec \\ServerC ipconfig /all >>c:\ip.txt
exit

Then you would have a nice little report for you.
0
 
vverduraCommented:
Great Idea!!

Long live sysinternals...
0
 
SteveCommented:
why not just use the simple option and enable logging on the DNS server?
you can see exactly which machines use the DNS server and can safely decommission it once you are happy nothing is using it's services.

Note: other DCs will always talk to other DCs, so don't worry if they still appear after their NIC DNS settings have been amended.
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now