move HostnameUtils to utils plugin