How to configure A, AAAA, CNAME, MX, and TXT records for a domain?
Configuring domain DNS records
DNS resource records determine which server your website traffic is routed to, where email is delivered, and how third-party services verify domain ownership. In this step-by-step guide, we will review the purpose of the main record types (A, AAAA, CNAME, MX, and TXT) and explain how to properly add or edit them in the internal DNS administrator of RX-NAME.
Note: Managing resource records in the internal DNS editor works only when our name servers (NS) are set for your domain. If you have not delegated your domain yet, please first review the basic guide — the DNS configuration guide.
Step 1. Accessing the internal DNS administrator
- Log in to your RX-NAME billing client area.
- Go to the “Domains” section (or “DNS Hosting” if the zone is managed separately) and select the desired domain name.
- Open the “DNS Management” / “DNS Records” tab, which displays the table of current records and a form for adding new ones.
Step 2. Purpose and configuration examples of main DNS records
When creating a record in the DNS administrator, three key fields are usually filled out: Name (Host / Subdomain) — the @ symbol denotes the root domain itself, while text like www or mail creates a subdomain; Type; and Value / Target. The TTL parameter (cache time-to-live in seconds) is usually left at its default value (for example, 3600).
1. A Record (Address Record) — linking to an IPv4 address
The most important record, which links a domain or subdomain to a specific IPv4 address of the server (in the format of four numbers separated by dots) where the website is hosted.
Name: @ | Type: A | Value: 192.0.2.15
2. AAAA Record — linking to an IPv6 address
Performs the same function as an A record, but directs the domain to the modern 128-bit IPv6 address of the server. Add it only if your hosting or VPS supports IPv6 and you know the exact address.
Name: @ | Type: AAAA | Value: 2001:0db8:85a3:0000:0000:8a2e:0370:7334
3. CNAME Record (Canonical Name) — creating aliases
Used to redirect one name (usually a subdomain, such as www, blog, or shop) to another canonical domain name. Convenient because if the IP address of the main domain changes, all CNAME subdomains will update automatically.
Name: www | Type: CNAME | Value: vash-domain.com
4. MX Record (Mail Exchange) — email routing
Tells mail servers worldwide which mail server to deliver emails sent to @vash-domain.com addresses to (for example, for corporate hosting mail, Google Workspace, or another mail service). In addition to the server address, an MX record has a Priority parameter: the lower the number (for example, 10), the higher the server’s priority.
Name: @ | Type: MX | Priority: 10 | Value: mail.vash-domain.com
5. TXT Record (Text Record) — domain verification and anti-spam protection
Stores arbitrary text information for external systems. Most often, TXT records are used for two tasks:
- Ownership verification: verifying domain ownership in Google Search Console, issuing an SSL certificate, or connecting third-party services.
- Mail protection and anti-spam: setting up digital signatures and security rules for mail — SPF (list of servers allowed to send emails on behalf of your domain), DKIM (cryptographic email signature), and DMARC.
Name: @ | Type: TXT | Value: v=spf1 a mx ip4:192.0.2.15 ~all
Important rules and update times:
- According to DNS standards, a CNAME type record cannot be created for the root domain (
@) if other records (such as SOA, NS, or MX) already exist for it. - After adding or editing records in the DNS administrator, changes take effect across the network within 15 minutes to 24 hours (depending on the TTL value and internet service provider caching).
Need help with DNS zone configuration?
If you are unsure whether you filled out the records correctly or if your email/website fails to work after updating the DNS zone, please contact our support team — we will help verify your configuration:
- Online Chat on the website: Write to us in the chat widget directly on our website (the fastest way to get a response).
- Telegram Bot / Chat: Contact our support team on Telegram for prompt assistance.
- Email: Send an email containing your domain name and a screenshot or list of required records to technical support.