add comment hostname could be empty, so skip it