Skip to content
    Guide

    DNS zones and records explained

    Last updated

    DNS is the internet’s address book. When someone types your domain, DNS tells their device which server holds the website, where to deliver email, and much more. Each answer is a DNS record, and all the records for one domain together are called a zone.

    MaintainHQ can host the DNS for any domain you own, for free, on our own name servers, wherever you bought the domain. This guide explains how, and what every record type in the editor is for.

    How DNS works, in plain words

    Every domain has name servers: the DNS servers that hold its records. You choose them at your registrar (the company you bought the domain from). Whoever runs the name servers is your DNS host.

    When you host DNS on MaintainHQ, our name servers answer for your domain. They are currently ns1.maintainhq.space, ns2.maintainhq.space and ns3.maintainhq.space; always copy the ones shown on screen.

    Records are cached by the devices and services that look them up, for as long as the record’s TTL (time to live) says. A short TTL means changes are seen quickly; a long one means they take longer to spread.

    Host a domain’s DNS on MaintainHQ

    1. Open DNS in the left-hand menu, under Hosting & domains.
    2. In Add a domain, type the domain, for example example.com, and click Host DNS here.
    3. MaintainHQ copies the domain’s current records across, so your website and email keep working. Check them on the next page.
    4. At your registrar, replace the domain’s name servers with the ones shown. The Copy all button copies them in one go.
    5. Wait for the switch. It usually happens within a few hours, sometimes up to two days. MaintainHQ checks on its own; click Check now to check straight away.

    Until the switch, the zone shows "Waiting for your registrar" and your records are saved but not yet answered. Once the registry reports our name servers, it shows "In use".

    You can also start from a hosted site: its DNS tab has a Host DNS here button and suggests the site’s domains. Domains you register with MaintainHQ are set up on MaintainHQ DNS automatically if you choose it at checkout.

    Record types

    The editor supports these record types. You will only ever need a few of them; the rest are for specialist services that will tell you exactly what to enter.

    Record types in the DNS editor
    TypeWhat it doesExample value
    APoints a name at an IPv4 address (a server’s numeric address).203.0.113.10
    AAAAPoints a name at an IPv6 address (the newer, longer kind).2001:db8::1
    CNAMEMakes a name follow another hostname. Not allowed on the bare domain.shops.example.net
    ALIASLike a CNAME, but allowed on the domain itself.sites.example.net
    MXSays which servers take the domain’s email, with a priority.10 mail.example.com
    TXTText for verification and email rules (SPF, DKIM, DMARC).v=spf1 include:spf.example.net ~all
    SRVWhere a service lives: priority, weight, port and target.10 5 5060 sip.example.com
    CAAWhich certificate authorities may issue SSL for the domain.0 issue "letsencrypt.org"
    NSHands a subdomain to other name servers.ns1.example.net
    TLSAPins a TLS certificate: usage, selector, matching type, hash.3 1 1 0d6fce3a…
    SSHFPAn SSH host key fingerprint: algorithm, type, fingerprint.4 2 9f8c…
    HTTPSTells browsers how to reach the site: priority, target, parameters.1 . alpn=h2,h3
    SVCBService details: priority, target, parameters.1 svc.example.net alpn=h2

    The domain’s own NS and SOA records (SOA is the zone’s housekeeping record) are set by MaintainHQ and cannot be edited.

    Add and edit records

    1. Open the domain from DNS and click Add record.
    2. Choose the Type.
    3. Type the Name: @ for the domain itself, or a word such as www or shop for a subdomain. The form shows the full name the record answers for.
    4. Choose a TTL. Auto (1 minute) is the default and means changes are seen almost at once.
    5. Enter the value. MX records have a Priority and Mail server for each server (click Another mail server to add more; the lowest number is tried first). CNAME and ALIAS have a single Points at box. Other types take one value per line.
    6. Optionally add a Note that only you see, such as what the record is for.
    7. Click Save record.

    To change a record, click the pencil icon. To remove one, click the bin icon. The delete confirmation warns you if the record looks important, for example the domain’s only mail server or the record that points it at a website.

    Changes reach every name server within seconds. The header shows "Publishing…" and then "Live on 3 of 3 name servers" (or similar) when they are out.

    Records that a hosted site needs carry a note starting "Set by MaintainHQ". MaintainHQ keeps them right, including if the site ever moves server.

    Templates, search and export

    • Templates: add the records for a common email service in one go. Google Workspace email and Microsoft 365 email are available. The dialog shows each record as New or Replaces existing before you click Apply template. Existing TXT values are kept, apart from an older SPF rule.
    • Search and filter: once a zone has records, search names, values and notes, or filter by type.
    • Export: downloads the zone’s records as a file, so you have a copy.

    History and undo

    The History tab lists every change to the zone, newest first: what was added, changed, deleted, imported or added from a template, with the old value crossed out and the new one below. Click Undo on any change to put that record back as it was before.

    DNSSEC

    DNSSEC signs the zone so nobody can forge answers for your domain. It needs one extra record, a DS record, added at your registrar.

    1. Open the domain in DNS, then the DNSSEC tab.
    2. Click Switch DNSSEC on. The zone is signed and the status becomes "Signed, waiting for your registrar".
    3. Copy the DS record shown (it is also broken down into key tag, algorithm, digest type and digest) and add it at your registrar.
    4. Click Check the registry. When the registry publishes it, the status becomes Protected.

    Stop hosting DNS

    On the domain’s Settings tab, Stop hosting DNS for (domain) deletes the zone and every record in it. Export the records first if you want a copy.

    Frequently asked questions

    Does DNS hosting cost anything?
    No. Hosting DNS on MaintainHQ is free for every domain you own.
    Do I have to move my domain to MaintainHQ to use the DNS?
    No. Keep the domain at the registrar you bought it from and change only its name servers.
    Will my email stop working when I switch?
    Not if the MX and TXT records were copied. MaintainHQ copies the current records when you add the domain; check them before you change the name servers.
    Why can I not put a CNAME on the bare domain?
    DNS rules do not allow a CNAME at the domain itself. Use an ALIAS record instead, which works the same way.
    What TTL should I use?
    Auto (1 minute) is fine for almost everything and makes changes quick. Longer TTLs suit records that never change.

    Let MaintainHQ run the routine

    Updates with automatic rollback, backups, uptime, security checks and client reports, with Gus to fix what breaks.

    Start free trial

    From £29 a month for up to 2 sites. Every plan starts with a 14-day trial.