Answer the question
In order to leave comments, you need to log in
Change DNS programmatically in Windows
Actually, the question is how to programmatically change the DNS of all network connections on a computer? If you change the value in the registry, it does not “cling” right away, it turns out crooked through netsh. I would like a more reliable way, preferably in C / C ++.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question