Provide gethostbyname() after cap_enter()