GCP - DNS Enum

Reading time: 2 minutes

tip

Learn & practice AWS Hacking:HackTricks Training AWS Red Team Expert (ARTE)
Learn & practice GCP Hacking: HackTricks Training GCP Red Team Expert (GRTE)

Support HackTricks

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

tip

Learn & practice AWS Hacking:HackTricks Training AWS Red Team Expert (ARTE)
Learn & practice GCP Hacking: HackTricks Training GCP Red Team Expert (GRTE)

Support HackTricks