getDnsZone( )


Retrieves the DNS zone belonging to the domain from Google's Cloud DNS.

Important: This call requires an account level API key and cannot be authenticated with the standard authorization header.

Method Declaration
Copy
Method Parameters
domainNamestringRequired

Domain to retrieve the DNS zone for.

Returns
Return Type:Promise<DnsZone>
Get a DNS zone with an API Key
JavaScript
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?