Wrap hostname conditions