---
title: Getting Started with Datadog
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > Infrastructure > Datadog Resource Catalog
---

# gcp_dns_policy{% #gcp_dns_policy %}

## `alternative_name_server_config`{% #alternative_name_server_config %}

**Type**: `STRUCT`**Provider name**: `alternativeNameServerConfig`**Description**: Sets an alternative name server for the associated networks. When specified, all DNS queries are forwarded to a name server that you choose. Names such as .internal are not available when an alternative name server is specified.

- `kind`**Type**: `STRING`**Provider name**: `kind`
- `target_name_servers`**Type**: `UNORDERED_LIST_STRUCT`**Provider name**: `targetNameServers`**Description**: Sets an alternative name server for the associated networks. When specified, all DNS queries are forwarded to a name server that you choose. Names such as .internal are not available when an alternative name server is specified.
  - `forwarding_path`**Type**: `STRING`**Provider name**: `forwardingPath`**Description**: Forwarding path for this TargetNameServer. If unset or set to DEFAULT, Cloud DNS makes forwarding decisions based on address ranges; that is, RFC1918 addresses go to the VPC network, non-RFC1918 addresses go to the internet. When set to PRIVATE, Cloud DNS always sends queries through the VPC network for this target.**Possible values**:
    - `default` - Cloud DNS makes forwarding decision based on IP address ranges; that is, RFC1918 addresses forward to the target through the VPC and non-RFC1918 addresses forward to the target through the internet
    - `private` - Cloud DNS always forwards to this target through the VPC.
  - `ipv4_address`**Type**: `STRING`**Provider name**: `ipv4Address`**Description**: IPv4 address to forward queries to.
  - `ipv6_address`**Type**: `STRING`**Provider name**: `ipv6Address`**Description**: IPv6 address to forward to. Does not accept both fields (ipv4 & ipv6) being populated. Public preview as of November 2022.
  - `kind`**Type**: `STRING`**Provider name**: `kind`

## `ancestors`{% #ancestors %}

**Type**: `UNORDERED_LIST_STRING`

## `description`{% #description %}

**Type**: `STRING`**Provider name**: `description`**Description**: A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the policy's function.

## `enable_inbound_forwarding`{% #enable_inbound_forwarding %}

**Type**: `BOOLEAN`**Provider name**: `enableInboundForwarding`**Description**: Allows networks bound to this policy to receive DNS queries sent by VMs or applications over VPN connections. When enabled, a virtual IP address is allocated from each of the subnetworks that are bound to this policy.

## `enable_logging`{% #enable_logging %}

**Type**: `BOOLEAN`**Provider name**: `enableLogging`**Description**: Controls whether logging is enabled for the networks bound to this policy. Defaults to no logging if not set.

## `id`{% #id %}

**Type**: `STRING`**Provider name**: `id`**Description**: Unique identifier for the resource; defined by the server (output only).

## `kind`{% #kind %}

**Type**: `STRING`**Provider name**: `kind`

## `labels`{% #labels %}

**Type**: `UNORDERED_LIST_STRING`

## `name`{% #name %}

**Type**: `STRING`**Provider name**: `name`**Description**: User-assigned name for this policy.

## `networks`{% #networks %}

**Type**: `UNORDERED_LIST_STRUCT`**Provider name**: `networks`**Description**: List of network names specifying networks to which this policy is applied.

- `kind`**Type**: `STRING`**Provider name**: `kind`
- `network_url`**Type**: `STRING`**Provider name**: `networkUrl`**Description**: The fully qualified URL of the VPC network to bind to. This should be formatted like [https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}](https://www.googleapis.com/compute/v1/projects/%7bproject%7d/global/networks/%7bnetwork%7d)

## `organization_id`{% #organization_id %}

**Type**: `STRING`

## `parent`{% #parent %}

**Type**: `STRING`

## `project_id`{% #project_id %}

**Type**: `STRING`

## `project_number`{% #project_number %}

**Type**: `STRING`

## `region_id`{% #region_id %}

**Type**: `STRING`

## `resource_name`{% #resource_name %}

**Type**: `STRING`

## `tags`{% #tags %}

**Type**: `UNORDERED_LIST_STRING`

## `zone_id`{% #zone_id %}

**Type**: `STRING`
