title: How to update Google Cloud DNS with ephemeral IP for an instance
body: <p>I have couple of instances on GCE that I don't really need static addresses for, but I still need to make them accessible via dns name. Since ephemeral external ip addresses change every time an instance is restarted, I thought that I could use some sort of startup script to update dns entry for that instance in Google Cloud DNS (a bit like dyndns).</p>
  
  <p>Did I miss something and there is an easier way to map ephemeral external ip addresses to a dns record via gcloud?    </p>
  
  <p>If not, any pointers on how to write such script would be highly appreciated!</p>