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.
Saving the current DNS records to a file
- Openup domain settings.
- At the top of the settings page, click "Save to file".
File content
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
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.
Recovering DNS records from a file
Attention!
When restoring, all current records of the selected domains will be deleted.- Openup domain settings.
- At the top of the settings page, click "Recover from file".
- Wait for the update DNS cache... This usually takes several hours (maximum 24).