turbot/gcp

steampipe plugin install gcpsteampipe plugin install gcp
On This Page
Get Involved

Table: gcp_dns_managed_zone

A DNS zone is used to host the DNS records for a particular domain. To start hosting your domain in Azure DNS, you need to create a DNS zone for that domain name. Each DNS record for your domain is then created inside this DNS zone.

Examples

Basic info

select
name,
id,
dns_name,
creation_time,
visibility
from
gcp_dns_managed_zone;

List public zones with DNSSEC disabled

select
name,
id,
dns_name,
dnssec_config_state,
visibility
from
gcp_dns_managed_zone
where
visibility = 'public'
and
(
dnssec_config_state is null
or dnssec_config_state = 'off'
);

.inspect gcp_dns_managed_zone

GCP DNS Managed Zone

NameTypeDescription
akasjsonbArray of globally unique identifier strings (also known as) for the resource.
creation_timetimestamp without time zoneThe time that this resource was created on the server.
descriptiontextA user-specified, human-readable description of the managed zone.
dns_nametextThe DNS name of this managed zone.
dnssec_config_default_key_specsjsonbSpecifies parameters for generating initial DnsKeys for this ManagedZone.
dnssec_config_non_existencetextSpecifies the mechanism for authenticated denial-of-existence responses.
dnssec_config_statetextSpecifies whether DNSSEC is enabled, and what mode it is in.
forwarding_config_target_name_serversjsonbA list of target name servers to forward to.
idbigintThe unique identifier for the resource, defined by the server.
kindtextThe type of the resource.
labelsjsonbA set labels attached with the resource.
locationtextThe GCP multi-region, region, or zone in which the resource is located.
nametextAn user assigned, friendly name that identifies the resource.
name_server_settextSpecifies the NameServerSet for this ManagedZone. A NameServerSet is a set of DNS name servers that all host the same ManagedZones.
name_serversjsonbDelegate your managed_zone to these virtual name servers; defined by the server.
peering_config_target_networkjsonbSpecifies the configuration of the network with which to peer.
private_visibility_config_networksjsonbA set of Virtual Private Cloud resources that the zone is visible from.
projecttextThe GCP Project in which the resource is located.
self_linktextServer-defined URL for the managed zone.
service_directory_config_namespace_deletion_timetimestamp without time zoneThe time that the namespace backing this zone was deleted.
tagsjsonbA map of tags for the resource.
titletextTitle of the resource.
visibilitytextSpecifies the zone's visibility. public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources.