FS-5396 --resolve add gethost function to call gethostbyname as desired