check if user provide hostname for resolution