Link to home
Create AccountLog in
Avatar of Thomas N
Thomas NFlag for United States of America

asked on

Finding machines using a specific DNS server

Is there a way to find out what machines are using a specific DNS server? We are switching servers and want to make sure any static assigned machines are not using the old servers anymore.
ASKER CERTIFIED SOLUTION
Avatar of Edward Pamias
Edward Pamias
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
There's a caveat with #4 above - Get-DNSClientServerAddress is only available on Win8 and newer.
Good point, I run Windows 10 and didn't even think of OS supported by different versions.  What you could do is change the powershell command to "ipconfig /all > \\server\share\%computername%.txt

You would have to manually check each text file as if you do a find for string DNS, it will always give you the primary server name.  Secondary server name is in the next line.
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account