3.1.1.7. Saving and restoring DNS records from a file

The control panel provides the ability to save and restore domain settings from a file. This can be useful for keeping a backup of the current domain settings before changing them, or for quick bulk jobs of the same. DNS-records for multiple domains.

  1. At the top of the settings page, click "Save to file".

The saved settings are a plain text file with the following contents:

;; ;; Domain: example.com ;; Exported: DD.MM.YYYY HH: MM ;;	
$ORIGIN example.com
$TTL 900
@	IN	A	XXX.XXX.XXX.XXX
*	IN	A	XXX.XXX.XXX.XXX
www	IN	A	XXX.XXX.XXX.XXX
@	IN	MX	0 mx.ukraine.com.ua.
@	IN	TXT	v=spf1 include:_spf.ukraine.com.ua ~all
mail	IN	CNAME	mail.ukraine.com.ua.
  • Domain - the name of the domain, the settings of which are saved in the file.
  • Exported — date and time when the file was saved.
  • A list of records, each line of which contains elements separated by tabs (not spaces):
    • subdomain - subdomain name without domain name. Symbol @ means the main domain, * - any subdomain of the current domain.
    • IN
    • typeof - record type: A, AAAA, CNAME, MX, TXT, NS for subdomains or ALIAS.
    • data - record data. For MX records, their priority is indicated on the left, separated by a space.

If necessary, the file can be edited in any text editor and manually add, modify or delete entries in it.

Attention!

When restoring, all current records of the selected domains will be deleted.
  1. At the top of the settings page, click "Recover from file".
  2. Select the domains for which you want to change the settings:
  3. Make sure you have selected the correct domains, select the settings file and click "Change domain settings":
  4. Review the list of records that will be set for the selected domains and click "Confirm and change":
  5. Wait for the update DNS cache... This usually takes several hours (maximum 24).
Content