This page describes gcloud CLI commands and APIs that can be used with Cloud DNS and DNS Armor. We recommend using the v1 API methods, though some methods are only available in v1beta. To manage your Cloud DNS resources securely, authenticate your access using client libraries, the Google Cloud CLI, or REST.

<br />

## Authentication

- [### Authenticate to Cloud DNS
  This document describes how to authenticate to Cloud DNS if you
  are using client libraries, Google Cloud CLI, or REST.](https://docs.cloud.google.com/dns/docs/authentication)

## gcloud dns

- [### gcloud CLI reference
  Programming reference for the Cloud DNS gcloud CLI
  (`gcloud dns` commands).](https://docs.cloud.google.com/sdk/gcloud/reference/dns)

## Cloud DNS API

- [### Work with the Cloud DNS API
  Find information about using the Cloud DNS API, such as performance tips and
  JSON formats for various Cloud DNS record types.](https://docs.cloud.google.com/dns/docs/reference/standard_params)
- [### DNS v1 API
  View the REST API reference for Cloud DNS APIs, version 1.](https://docs.cloud.google.com/dns/docs/reference/rest/v1)
- [### DNS v1beta2 API
  View the REST API reference for Cloud DNS APIs, version 1 beta.](https://docs.cloud.google.com/dns/docs/reference/rest/v1beta2)

## DNS Armor

- [### DNS Threat Detectors API
  View the REST API reference for DNS Armor APIs, version 1.](https://docs.cloud.google.com/dns/docs/reference/dns-armor/rest/v1/projects.locations.dnsThreatDetectors)
- [### DNS Threat Detectors beta API
  View the REST API reference for DNS Armor APIs, version 1 beta.](https://docs.cloud.google.com/dns/docs/reference/dns-armor/rest/v1beta1/projects.locations.dnsThreatDetectors)