Moved DNS resolution to host object