Thomas N
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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\%computerna me%.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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.