Debugging hostname resolution