Updating secondary zone information with the API requires specific syntax depending on whether you are using REST or SOAP. Use this table to find the syntax for your command.

REST Syntax

Click to view all REST Resources

Secondary/ PUT — Updates the secondary zone specified.

HTTP Action — PUT

URI — https://api.dynect.net/REST/Secondary/<zone>/

Arguments:

string contact_nickname — Contact that receives notifications for this zone.

array masters — A list of IPv4 or IPv6 addresses of the master nameservers for this zone.

string tsig_key_name — Name of the TSIG key that will be used to sign transfer requests to your zone’s master.

Response — Click for More Info

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands

UpdateSecondary — Updates the secondary zone specified.

Arguments — Click for More Info

Response — Click for More Info

Example Request — Click for More Info