Wiki
Home › Domains › Set up DNS records

Set up DNS records

Point the domain to webspace, servers or other targets.

PawHost offers free DNS hosting. You create records in the customer panel.

All record types

ALinks a name to an IPv4 address, e.g. webspace or server.
AAAALinks a name to an IPv6 address.
CNAMEMakes one name an alias of another, e.g. www pointing to example.de. The domain itself (without www) must not have a CNAME.
MXDefines which mail server accepts mails for the domain. The priority controls the order, lower numbers come first. The target must be a name, not an IP address.
TXTFree text. Used for SPF, DKIM, DMARC and domain verifications, see Mail accounts.
NSNames the nameservers responsible for the domain. The DNS provider sets these values; you only change them when switching provider.
SOAAdministrative data of the zone, e.g. serial number and refresh times. Created automatically by the DNS provider and not changed by hand.
SRVNames server and port for a specific service, e.g. _sip._tcp.example.de.
CAADefines which certification authorities may issue SSL certificates for the domain, e.g. Let's Encrypt. Optional, but an extra protection against false certificates.
PTRLinks an IP address to a name (reverse DNS). It is not maintained in the domain zone but with the provider of the IP, see Mail accounts.

Procedure

  1. Open DNS management for the domain.
  2. Create a record, e.g. an A record pointing to the IP of the target.
  3. Save the change and allow a few hours for it to spread.
  4. Check with dig example.de A or nslookup example.de.
The TTL value determines how long other servers keep the old answer. Before a move, lower the TTL in advance.