title: How to generate DNS for GCP cloud sql private ip
body: <p>I've been trying to set up a Kubernetes cluster with Google Cloud SQL with a private IP connection with Terraform scripts in Google cloud. These terraform scripts work perfectly fine. Then I rollup Kubernetes configuration with deployments, services, and pods that use this database private IP. The problem that Terraform scripts creates Database with a random private IP each time when it got created. So it is very inconvenient to set up the IP in Kubernetes configuration manually. Is there any way to generate private DNS for this private IP and use it in the Kubernetes configuration?</p>
  
  <p>I tried to create a private DNS zone and assign a record pointing to Cloud SQL private IP. But it doesn't work for some reason.</p>