Skip to content

Transfer of DNS Records

Search
Generic filters
Exact matches only
Search in title
Search in content
Search in excerpt

Transfer of DNS Records

Version
1.0.1
Requires
18.0.33
Developer
Plesk
Category

Changing your DNS configuration is often a hassle. If you use an external DNS service and then you decide to use Plesk as a DNS server (primary or secondary), you have to add a bunch of DNS records to Plesk one by one manually. And vice versa, if you use Plesk as a DNS server and then decide to switch to an external DNS service, you face the same monotonous challenge of adding DNS records but to the service.

With the "Transfer of DNS Records" extension, you can now transfer DNS records to and from Plesk with just a few clicks.

The extension can import DNS records from a zone file you got from the DNS service, verify if the DNS records are correct, and add the DNS records you select to Plesk (overwriting already existing DNS records if necessary). The extension does all of that automatically. You just need to upload the zone file.

The extension can also export DNS records of the selected domain to a zone file, which you can later use to automatically import the DNS records to an external DNS service.

Additional information

  • When the extension is installed, its features are available to the Plesk administrator and customers.
  • The DNS record import can change the default TTL of the domain DNS zone in Plesk to the default TTL in a zone file.

CLI reference

You can also run the extension via the CLI. See the reference below.

  • plesk ext dns-transfer help shows the help on the utility usage.

  • plesk ext dns-transfer import <domain_ID> <filename> [-ip <address>] [-y] [-r] [-json] imports the DNS records from the zone file.

    -ip 192.0.2.1 replaces the IPv4 address specified in the zone file with the IPv4 of the Plesk server.

    -y skips the DNS record verification.

    -r overwrites the Plesk DNS records of the same type with those in the zone file.

    -json skips the DNS record verification and returns the import result in JSON.

  • plesk ext dns-transfer export <domainId> [<filename> | <absolute_path_to_file>] exports the DNS records from Plesk to a zone file.

Example: plesk ext dns-transfer import 1 /tmp/zonefile -ip 10.10.10.10 -r

Install Transfer of DNS Records extension

Hostname or IP or URL of your Plesk instance: