Updating the transfer of a Primary Zone using 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

/REST/ZoneTransfer/ PUT — Retries a failed task to transfer zone data from the given master via DNS AXFR and populates the named zone.

HTTP Action — PUT

URI — https://api.dynect.net/REST/ZoneTransfer/<zonename>/

Arguments:

  • string master_ip — Optional. IP address of the master server where the zone data exists.
Response —

  • integer task_id – The number assigned to the task to the zone transfer.
  • Dyn Logo

    SOAP Syntax

    Click to view all SOAP Commands

    TransferZoneIn — Starts a task to transfer zone data from the given master via DNS AXFR and populates the named zone. If the master_ip is not given, previous transfer task exists, and it was unsuccessful, the address from the previous task is used.

    Arguments:

    • string zoneRequired. Name of zone.
    • string master_ip — Optional. IP address of the master server where the zone data exists.
    Response —

  • integer task_id – The number assigned to the task to the zone transfer.
  • Error returned if named zone does exist and is already published.

    Example Request — Click for More Info