Solved

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

Posted on 2013-10-22
4
449 Views
Last Modified: 2013-10-30
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
Comment
Question by:philb19
  • 2
4 Comments
 
LVL 2

Accepted Solution

by:
vverdura earned 500 total points
ID: 39590864
Run Wireshark in the DNS server and capture traffic related to DNS resolution
0
 
LVL 23

Expert Comment

by:Thomas Grassi
ID: 39590895
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
 
LVL 2

Expert Comment

by:vverdura
ID: 39590928
Great Idea!!

Long live sysinternals...
0
 
LVL 27

Expert Comment

by:Steve
ID: 39596907
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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

911 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now