using builtin hostname_for_host()