Fix static DNS configuration on Windows