updateDnsZone( )


Adds DNS records to and removes DNS records from a DNS zone in Google's Cloud DNS.

The call is synchronous, that means it fails in case of an error on Google's side.

You can only set up a single record object per DNS record type. If you want to specify multiple values for the same record type, you must save them in the values for the relevant type. This means, you must delete the relevant record and add a new addition object for this type to the request, in case you want to add values for an existing DNS record type.

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 update the DNS zone for. Must include the TLD.


optionsUpdateDnsZoneOptions
Returns
Return Type:Promise<UpdateDnsZoneResponse>
Did this help?