previewDnsZone( )


Generates a preview for a DNS zone based on Google's Cloud DNS.

This includes calculating the A, CNAME, NS and SOA records. You can use this information to configure a domain from an external provider, before connecting it to a Wix site.

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

Authentication

This method may require higher-level permissions than the caller has, based on their identity and roles and permissions. In these cases, you can ensure the method is called with the required level of authorization by using one of the following:

Permissions
SCOPE.MICROSOFT_DYNAMICS.ACCOUNT_ACTIONS
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
domainNamestringRequired

Domain name to generate a DNS zone preview for.

Returns
Return Type:Promise<PreviewDnsZoneResponse>
Errors

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

Did this help?