hostname is not optional