This page describes how to use an Internationalized Domain Name (IDN) with Cloud DNS.
Create a new managed zone with an IDN suffix
You can create both public and private zones with IDN suffixes.
-
When using the Google Cloud console, Cloud DNS automatically encodes internationalized domain names when you create a DNS zone. You can use both IDN-encoded and unencoded names.
-
When using the Google Cloud CLI or an API, create a domain name by using Punycode , which some applications can recognize and render in an international language-specific script.
For example, for the domain name to appear as
example.ελ, use the IDN representation ofελfor the suffix, which is.xn--qxam.All records in the zone share this suffix.
To see how your domain name visually converts from Unicode characters to the equivalent ASCII-Compatible Encoding (ACE) form, use the IDN converter tool .
To create a new managed public zone with an IDN suffix, complete the following steps.
Console
-
In the Google Cloud console, go to the Create a DNS zonepage.
-
For the Zone type, select Public.
-
Enter a Zone name, such as
my-new-zone. -
Enter a DNS namesuffix for the zone by using a domain name that you own.
-
Under DNSSEC, select
Off,On, orTransfer. For more information, see Enabling DNSSEC for existing managed zones . -
Click Create. The Zone detailspage is displayed.
gcloud
Run the dns managed-zones create
command:
gcloud dns managed-zones create NAME \ --description= DESCRIPTION \ --dns-name= DNS_SUFFIX \ --visibility=public \ --dnssec-state= DNSSEC_STATE
Replace the following:
-
NAME: a name for your zone -
DESCRIPTION: a description for your zone -
DNS_SUFFIX: the DNS suffix in the Punycode format for your zone using a domain name that you own -
DNSSEC_STATE: how DNS authenticates responses to domain name lookups for this managed zone-
off: disable DNSSEC for the managed zone -
on: enable DNSSEC for the managed zone -
transfer: enable DNSSEC and allow transferring a signed zone in or out
-
API
Send a POST
request using the managedZones.create
method:
POST https://dns.googleapis.com/dns/v1/projects/ PROJECT_ID /managedZones { "name": " NAME ", "description": " DESCRIPTION ", "dnsName": " DNS_NAME ", "visibility": "public" }
Replace the following:
-
PROJECT_ID: the ID of the project where the managed zone is created -
NAME: a name for your zone -
DESCRIPTION: a description for your zone -
DNS_NAME: the DNS suffix in the Punycode format for your zone using a domain name that you own
What's next
- To work with managed zones, see Create, modify, and delete zones .
- To find solutions for common issues that you might encounter when using Cloud DNS, see Troubleshooting .
- To get an overview of Cloud DNS, see Cloud DNS overview .

