Getting endpoint's hostname from inet address.