An MX record is used to route incoming mail. There can be several such records with the same name; when searching in DNS, the sender's server automatically chooses the record with the higher priority.
To add this type of record, you need to go to the "Name Servers (NS)" page and click on the gear icon next to the name servers for your domain. On the new page there will be a table with DNS records, click "Change". Now at the very bottom will be the "Add record" button:
What data should be entered in the new record:
- Name: In most cases, enter the name "@". If you want to set up mail for a subdomain, enter its name. For example, for mail "@blog.domain.com" it will be enough to enter the name "blog";
- TTL: record lifetime. The minimum parameter is 3600 seconds, the standard is 14400 seconds. In most cases you do not need to change it;
- Type: here you select type MX;
- Priority: the numeric value of the server priority; the lower the number, the higher the priority. When sending emails, the sender's server will always try to send the email to the server with the highest priority;
- Mail server: domain name of your mail server, for example "tzk701.nic.ua". Only the domain name is allowed, the IP address cannot be entered.
Once you have entered the necessary data, be sure to click "Save".
⚠️ Please note: changes of NS servers and records on them may take 4 to 24 hours to take effect. This is due to the caching of records by Internet service providers - they save all user requests and keep them for a certain period of time.