Update DNS server IP addresses remotely using PDQ?
We have two DNS servers with static IPs of, for example, 10.100.125.10 and 10.100.125.11. The .10 IP is the primary DNS server and .11 is the secondary server. These are set on approximately 300 client PCs.
We need to change the primary IP from 10.100.125.10 to 10.105.10.10 and secondary to 10.105.10.11.
Is there a way to:
1) create a PDQ Inventory collection that includes all clients that have 10.100.125.10 as the primary DNS server (so we can preview which clients need to be changed, prior to changing them).
2) run a powershell script launched from PDQ Inventory that will change the primary DNS server on each of those clients in the collection to 10.105.10.10?