Adding hostname constraints