load dns address using dll interfaces for mingw