Refresh hostname.