Cleanup PublicDnsName retrieval to conserve api requests.