Naar hoofdinhoud springen
FreeOnlineTools Go
Nederlands
reference

DNS-records Uitgelegd: A, AAAA, MX, TXT, CNAME, NS

By FreeOnlineTools Team · Updated 2026-08-27

Quick Answer

DNS-records vertellen het internet hoe je domein te behandelen. A-records wijzen naar IPv4-adressen, AAAA naar IPv6, MX routeert e-mail, TXT slaat tekst-metadata op, CNAME aliaseert een domein en NS delegeert aan nameservers. Gebruik onze gratis DNS Lookup-tool om elk recordtype op te vragen.

Introduction

DNS (Domain Name System) records zijn vermeldingen in een DNS-database die domeinnamen koppelen aan IP-adressen en andere routeringsinformatie. Elk recordtype dient een specifiek doel, van het wijzen van een domein naar een server tot het configureren van e-mailroutering. Het begrijpen van DNS-records is essentieel voor webontwikkelaars en systeembeheerders.

Step by Step

  1. A Record (IPv4 Address)

    The A record maps a domain name to an IPv4 address (e.g., 93.184.216.34). This is the most common DNS record type, used to point your domain to your web server.

  2. AAAA Record (IPv6 Address)

    The AAAA record maps a domain name to an IPv6 address (e.g., 2606:2800:220:1:248:1893:25c8:194). As IPv6 adoption grows, AAAA records are increasingly important.

  3. MX Record (Mail Exchange)

    MX records specify the mail servers that handle email for your domain, with a priority value (lower = higher priority). Example: example.com MX 10 mail.example.com.

  4. TXT Record (Text)

    TXT records store arbitrary text data, commonly used for SPF, DKIM, DMARC email authentication, domain verification, and other metadata.

  5. CNAME Record (Canonical Name)

    CNAME records alias one domain name to another. Commonly used to point www.example.com to example.com, or to point a domain to a hosted service like GitHub Pages.

  6. NS Record (Nameserver)

    NS records specify the authoritative nameservers for a domain. These are the servers that hold the actual DNS records for your domain.

Examples

A record for example.com

Input: dig example.com A

Output: 93.184.216.34

MX record for gmail.com

Input: dig gmail.com MX

Output: 5 gmail-smtp-in.l.google.com. (priority 5)

TXT record for SPF

Input: dig example.com TXT

Output: "v=spf1 include:_spf.google.com ~all"

CNAME for www

Input: dig www.example.com CNAME

Output: example.com.

Common Problems

  • DNS propagation can take 24-48 hours —changes are not immediate due to caching at multiple levels.
  • CNAME records cannot coexist with other record types for the same name —use A records instead if you need other records.
  • MX records require a priority value —omitting it can cause email delivery issues.
  • TXT records have a maximum length of 255 characters per string —longer values must be split into multiple strings.

Tips

  • Use our DNS Lookup tool to verify your DNS records are correctly configured.
  • Set a low TTL (300 seconds) when making changes, then increase it after propagation.
  • Always include both A and AAAA records if your server supports IPv6.
  • Use SPF, DKIM, and DMARC TXT records to improve email deliverability and prevent spoofing.

Related Tools

Related Guides

References