Something which doesn't rely on native libraries would be better.
How to lookup SRV records on Windows. To check the SRV records for a certain domain name on Windows, follow these steps: Open a command prompt by navigating to Start → 'Type here to search' → 'cmd' → Open. Type nslookup -q=srv example.com and hit [enter] to get the SRV records for example.com .
On one of the other DCs, open Server Manager, select Tools, and then select DNS. In DNS Manager, inspect the containers under Forward Lookup Zones and then delete the SRV records for the DC that you demoted.
You could try the dnspython library:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With