win32, multiple nic, different dns per nic, how gethostbyname() behaves ?
- by dweeves
Hello SF,
On a win32 multiple nic computer, how to force DNS resolving through gethostbyname() on a specific nic if all nics have different DNS configured and have the same metric ?
Otherwise, how to know which DNS will be used to resolve names each time a gethostbyname() call will be performed by the application ?