add option for public dns name, for Master and Spark UI