Fix dns resolve