If we are in a VPC there is a very good chance we will not have a public dns name. Now we can fall back to the private dns name if there is no public one.