Client Area
Votion Edge Simulation Node
NetworkGuides

DNS Records Explained: A, CNAME, MX, TXT, and SRV Settings

V
VOTION CORE CONTRIBUTOR
SYSTEM WRITER
6 min read

Understanding the Global Domain Name System (DNS)

The Domain Name System (DNS) is the phone book of the Internet, translating human-readable domains (like votion.cloud) into numerical IP addresses. When a user requests a website page, their client queries a sequence of DNS servers (resolvers, root nameservers, TLD servers, and authoritative nameservers) to find the correct IP. Designing high-availability domain layouts involves setting up proper zone files and configuring redundant nameservers.

By mapping DNS records (A, CNAME, MX, TXT, SRV) and running DNS security extensions (DNSSEC), you can protect your domain from spoofing and cache poisoning attacks. Additionally, choosing optimal Time-To-Live (TTL) settings helps you balance caching efficiency with the ability to route traffic during migrations.

Updating zone configurations accurately ensures your services remain accessible, avoiding resolution timeouts or email delivery failures.

; /var/lib/bind/db.example.com
; Authoritative DNS zone file template configuration
$TTL    3600
@       IN      SOA     ns1.votion.net. admin.votion.net. (
                      2026071601 ; Serial number
                          604800 ; Refresh (1 week)
                           86400 ; Retry (24 hours)
                         2419200 ; Expire (4 weeks)
                           86400 ; Negative Cache TTL
)
@       IN      NS      ns1.votion.net.
@       IN      NS      ns2.votion.net.
@       IN      A       192.0.2.1
www     IN      A       192.0.2.1
mail    IN      A       192.0.2.2
@       IN      MX  10  mail.example.com.

Essential CLI Setup Steps

To implement this setup on your cloud instances, execute the following commands in sequence inside your system console:

# Step 1: Query global authoritative nameservers for domain A records
dig +trace +nocmd A example.com

# Step 2: Perform direct reverse DNS lookup queries
host 192.0.2.1

# Step 3: Query TXT configurations (SPF/DMARC) to verify mail security settings
dig TXT _dmarc.example.com +short

# Step 4: Verify network route transit steps to authoritative IP targets
traceroute -I example.com

Configuring DNS Record Parameters and Serial Versions

The DNS zone file defines the routing records for your domain. The Serial number (2026071601) follows the YYYYMMDDNN format, letting secondary nameservers detect when the configuration has changed. The default TTL (3600 seconds) caches records on recursive resolvers for 1 hour, helping reduce server traffic. If you plan to migrate server IPs, lowering the TTL to 300 seconds a few days beforehand will help prevent DNS propagation delays.

The zone file includes MX record rankings (priority 10) to direct incoming email traffic to your designated mail servers.

NETWORK_PING // REGIONAL_ROUTE_SWEEPER
RTT_TESTER // VER_2.1
// TARGET_HOST:
[ Ready. Press Sweep to start route diagnostics ]

Operational Guidelines

Before launching in production, verify your hardware meets the benchmark metrics outlined in the table below:

DNS Propagation and Security Verification Checklist

Check ID DNS Record Check Verification Command
01 A record resolution consistency dig A +short @8.8.8.8 example.com
02 SPF mail validation integrity dig TXT example.com | grep v=spf1
03 DNSSEC keys active verification dig DNSKEY example.com +multiline