3.1.1.7. Save and restore DNS records from file

In the control panel, you can save and restore domain settings from a file. This can be useful for saving a backup of the current domain settings before making changes or for quickly applying the same DNS records to multiple domains.

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

The saved settings are a regular text file with content of the following type:

;;	
;;	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.services.
@	IN	TXT	v=spf1 include:_spf.ukraine.com.ua ~all
mail	IN	CNAME	mail.ukraine.com.ua.
  • Domain — the name of the domain whose settings are saved in the file.
  • Exported — date and time the file was saved.
  • A list of records, each line of which contains elements separated by tabs (not spaces):
    • subdomain — the name of the subdomain without the domain name. The symbol @ denotes the primary domain, * represents any subdomain of the current domain.
    • IN
    • Type — record type: A, AAAA, CNAME, MX, TXT, NS for subdomains or ALIAS.
    • data — data of the record. 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 records can be manually added, modified, or deleted.

Attention!

When restoring, all current records of the selected domains will be deleted.
  1. At the top of the page, click "Restore from file".
  2. Select the domains for which you need to change the settings:
  3. Make sure the required domains are selected, choose the settings file, and click "Edit 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 DNS cache to refresh. This usually takes a few hours (maximum 24).
Content

    (1)