DNS records tell the internet where to find your domain. Get them wrong and email lands in spam, sites don't load, and SSL certificates fail to issue. This guide covers the 6 record types you'll actually need.
A record — IPv4 address
Points a hostname to an IPv4 address. This is the most common record.
Type: A
Name: @ (means the root domain, e.g. example.com)
Value: 192.0.2.10
TTL: 3600
For subdomains, use the subdomain name:
Type: A
Name: www
Value: 192.0.2.10
AAAA record — IPv6 address
Same as A, but for IPv6. Every Hostiger VPS (except Istanbul) includes a /64 IPv6 block.
Type: AAAA
Name: @
Value: 2001:db8::1
CNAME record — alias to another hostname
Points one hostname to another. Common for www or CDN endpoints.
Type: CNAME
Name: www
Value: example.com.
TTL: 3600
Important: CNAME can only be used on subdomains, never on the root domain. For the root, use A or ALIAS.
MX record — where to send email
Tells the internet which servers accept mail for your domain. Lower priority = higher preference.
Type: MX
Name: @
Priority: 10
Value: mail.example.com.
TTL: 3600
Multiple MX records provide failover. If mail.example.com is unreachable, senders try the record with the next-lowest priority.
TXT record — arbitrary text (mostly authentication)
TXT records hold strings. Most common uses:
- SPF:
v=spf1 +mx +a +ip4:192.0.2.10 ~all - DKIM: stored at
selector._domainkey.example.com - DMARC: stored at
_dmarc.example.com, valuev=DMARC1; p=quarantine; ... - Domain verification: Google Search Console, SES, Meta all use TXT records
NS record — which nameservers control this domain
Usually set at your domain registrar, not in the zone editor. Points to authoritative nameservers:
Type: NS
Name: @
Value: ns1.hostiger.com.
DNS propagation — how long until it works?
New records propagate globally in 5-60 minutes typically. Some ISPs cache DNS for the TTL you set (default 3600 = 1 hour). If you're planning a change, lower TTL to 300 several hours in advance.
Check propagation with:
dig example.com
dig +trace example.com # follow the full chain
nslookup example.com 8.8.8.8 # check against Google DNS
Common DNS mistakes
- Adding both A and CNAME on the same name — DNS rejects this. Only one
- Missing trailing dot in CNAME value (some panels add it automatically, others don't)
- SPF has more than one record on the same domain — SPF only allows one, merge into one
- Setting TTL too high (86400) before a planned change — DNS cache holds the old value for a day
Every Hostiger domain comes with a free zone editor. For advanced routing (geo, load balancing, DNSSEC), Cloudflare is a solid free alternative.