Transferring the 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/ POST — Starts a task to transfer zone data from the given master via DNS AXFR and populates the named zone.

HTTP Action — POST

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.

    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.
  • Example Request — Click for More Info