mirror of
https://github.com/HackTricks-wiki/hacktricks-cloud.git
synced 2026-01-08 19:30:51 -08:00
24 lines
967 B
Markdown
24 lines
967 B
Markdown
# GCP - DNS Enum
|
|
|
|
{{#include ../../../banners/hacktricks-training.md}}
|
|
|
|
## GCP - Cloud DNS
|
|
|
|
Google Cloud DNS एक उच्च-प्रदर्शन, लचीला, वैश्विक डोमेन नाम प्रणाली (DNS) सेवा है।
|
|
```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}}
|