# GCP - DNS Enum

{{#include ../../../banners/hacktricks-training.md}}

## GCP - Cloud DNS

Google Cloud DNS is a high-performance, resilient, global Domain Name System (DNS) service.

```bash
# This will usually error if DNS service isn't configured in the project
gcloud dns project-info describe <project>

# Get DNS zones & records
gcloud dns managed-zones list
gcloud dns managed-zones describe <zone>
gcloud dns record-sets list --zone <zone> # Get record of the zone

# Policies
## A response policy is a collection of selectors that apply to queries made against one or more virtual private cloud networks.
gcloud dns response-policies list
## DNS policies control internal DNS server settings. You can apply policies to DNS servers on Google Cloud Platform VPC networks you have access to.
gcloud dns policies list
```

{{#include ../../../banners/hacktricks-training.md}}



