DNS (Domain Name System) is a distributed address book that connects a domain name to the IP address of its server, to its mail servers and to its verification records. Anycast DNS is a way of publishing that address book in which the same DNS server address is announced from many servers around the world, and each query is routed to the location that is closest in network terms. Together they form the lowest layer of an export website's technical infrastructure for global reach: before a visitor's browser sees a single byte of your page, it has to resolve the address of your domain.
DNS is often treated as a setting you configure once and forget. In practice, every infrastructure step touches it: a server move, a change of e-mail provider, a new language subdomain or a switch to a CDN. This guide covers the difference between authoritative and recursive servers, what anycast changes compared with unicast, how to audit each record type, how to set TTL values ahead of a migration, and a step-by-step migration checklist.
How a DNS Query Is Resolved
When a purchasing manager in Germany clicks through to your site from a search result, the browser first needs the IP address of your domain. That question does not go straight to your DNS server. It goes to the resolver run by the user's internet provider, the company network or a public resolver they have chosen. If that resolver has no cached answer, it works its way down from the root servers to the top-level domain servers and finally to the authoritative server for your domain.
Authoritative vs Recursive Servers
Two different roles appear in that chain. A recursive resolver asks the question on behalf of the user and keeps the answer in its cache for a while. You do not run it; your buyer's network or provider does. An authoritative server is the actual source of your domain's records: it says which IP address to use and where e-mail should be delivered. When we talk about DNS management, we mean controlling that authoritative side: the records, the infrastructure that publishes them and the discipline around changing them.
The distinction has a practical consequence. When you change a record on your authoritative server, recursive resolvers around the world keep serving the old answer until their cached copy expires. What people call "DNS propagation" is really these caches emptying one after another, and the TTL value you set largely determines how long that takes.
Nameserver Delegation
Which authoritative servers your domain points to is set by the NS records in your registrar account. A common mix-up is editing records at one DNS provider while the delegation still points somewhere else: the panel looks correct, but the rest of the internet is asking a different server. The registrar account, renewal dates and delegation therefore belong to DNS management too; we cover the brand side of this in our post on domain portfolio management and protecting brand domains.
Anycast vs Unicast
With classic unicast, each IP address represents a single physical server. If your authoritative server sits in one data centre, every recursive query from Chile, Japan or South Africa has to travel to that one point. Providers try to balance this by assigning two or more nameservers, but if those servers are in the same region, the latency and outage risk seen by distant markets stays the same.
With anycast, the same IP address is announced to the internet's routing system (BGP) from many locations. Each query goes to the nearest or most suitable location according to the network topology. If one location goes offline, routing shifts to the others on its own. This brings two benefits: the resolution step takes a shorter path for distant markets, and a failure in one data centre does not make your domain unreachable.
What Anycast Does Not Fix
Anycast DNS only speeds up and hardens the address-resolution step. If the page itself is still served from a single region, server response time and content transfer do not change. DNS's share of total load time also depends on how often recursive caches hold the answer: for a popular domain, the answer usually comes from cache. That is why DNS improvements should be assessed together with measuring TTFB by country; measurement tells you whether the problem lies in resolution or in the server response.

Record Types and What to Check
An export company's domain usually accumulates dozens of records for the website, e-mail, verification and security. The table below summarises what to look at for each record type during a regular audit.
| Record | What it does | What to check |
|---|---|---|
| A | Points a name to an IPv4 address | Does the address still belong to a server you use; are there forgotten subdomains pointing to an old server |
| AAAA | Points a name to an IPv6 address | If an IPv6 record exists, does the server really answer on it, and does it serve the same site as the A record |
| CNAME | Points one name to another name | Is the target service still active; a CNAME to a closed service opens the door to subdomain takeover |
| MX | Names the servers that receive e-mail | Are the priority values correct; have the old e-mail provider's lines been removed |
| TXT | Carries SPF, DKIM, DMARC and verification strings | Is there exactly one SPF record; can unused verification lines be cleaned up |
| CAA | Limits which certificate authorities may issue SSL certificates | Is your certificate authority listed; is your CDN's or host's authority missing |
| NS | Lists the domain's authoritative servers | Does the registrar delegation match the NS records at the DNS provider |
| SOA | Holds zone administration data and default timers | Does the serial number increase with changes; is the negative-caching time reasonable |
CNAME at the Zone Apex
DNS standards do not allow a CNAME at the zone apex (the bare domain without www) alongside the other records that must live there. CDNs and hosting services often ask you to point to a hostname, so providers offer workarounds such as ALIAS, ANAME or "CNAME flattening". The names and behaviour of these features differ between providers, so before a migration, confirm in the new provider's documentation how it handles the apex.
Forgotten Subdomains
CNAME records created for a retired campaign page, an old support portal or a deleted cloud storage bucket can be claimed by someone else once the target is released. That means a page you do not control going live under your domain. Listing every subdomain at least once a year and writing down its owner and purpose is the simplest defence against this risk.
E-mail Records at a High Level
An exporter's domain carries not only the website but also quotation and order correspondence. That makes e-mail records the part of a DNS change that breaks most easily and gets noticed last. There are three core records:
- SPF: a TXT record that lists which servers may send e-mail on behalf of your domain. A domain should have only one SPF record; when you add a new sending tool, you extend the existing record.
- DKIM: a record that publishes the public part of the key used to sign outgoing messages. Each sending service uses its own selector.
- DMARC: a policy record telling receiving servers what to do based on SPF and DKIM results and where to send reports.
Correct records help receivers authenticate your messages, but they do not on their own guarantee inbox placement; deliverability also depends on sender reputation, content and other factors. For setup details and how alignment works, see our SPF, DKIM and DMARC guide. When you switch DNS providers, moving these lines completely should be a separate item in the migration plan.
How to Set TTL Values
TTL (Time to Live) states, in seconds, how long a record may stay in a recursive resolver's cache. A long TTL means more queries are answered from cache and less load reaches the authoritative server; a short TTL means changes spread faster. The right value depends on how often the record is expected to change.
TTL in Day-to-Day Operation
For records that rarely change (MX, verification TXT records, CAA), a TTL measured in hours is usually enough. A, AAAA and CNAME records for the website can also use a medium or long value while no change is planned. Keeping a very short TTL permanently causes more frequent authoritative lookups and reduces the caching benefit that anycast infrastructure provides.
Lowering TTL Before a Migration
Before a server or provider change, the most useful habit is to lower the TTL of the affected records in advance. Timing matters here: the moment you lower the TTL, caches around the world still hold the old answer stored with the old, long TTL. You therefore need to lower it at least one full current-TTL period ahead. If the current TTL is one day, do not migrate until at least a day has passed for the short TTL to spread. Once the migration is complete and the new address is verified, raise the TTL back to its normal value.
Nameserver (NS) changes work slightly differently: you do not control the TTL of the delegation records held by the top-level domain servers. During a provider switch, the old and new providers therefore need to publish the same records side by side for a while.

DNSSEC and Secondary DNS
Using DNSSEC With Care
DNSSEC cryptographically signs DNS answers so that validating recursive resolvers can check the signature. This makes it harder for a forged answer to be injected along the way and send users to another server. At the same time, DNSSEC is a layer that can make the whole domain unresolvable if it is mismanaged. The most common mistake is leaving the DS record at the registrar pointing to the old key while switching DNS providers: validating resolvers then reject the new provider's answers.
Before turning DNSSEC on, confirm in your provider's documentation whether key management is automatic, how key rollover works and which steps apply when you change providers. A safe path during a migration is often to remove the DS record first, wait for it to drop out of caches, complete the move and then re-enable DNSSEC with the new key. Details vary by provider, so check the official source for the current state.
What Secondary DNS Adds
Secondary DNS means your domain's records are also published by a second, independent provider. If the primary provider suffers a wide outage, resolvers can keep getting answers by asking the other nameservers in the delegation. Records are usually kept in sync through zone transfers or by writing to both providers through their APIs at the same time.
Secondary DNS is not a mandatory layer for every export website; it adds management overhead and complicates key handling when combined with DNSSEC. It is worth considering for companies with heavy e-mail and web traffic from several markets, where every hour of an unreachable domain means lost quotes and orders. Whichever path you choose, including DNS resolution in your uptime monitoring and alerting setup means you notice a problem before your buyers do.
DNS Migration Checklist
The sequence below gives a workable skeleton for a server move or a change of DNS provider.
- Export the current zone. Save every record with its TTL to a file; a screenshot of the panel is not enough.
- Clean up the record inventory. Note the purpose and owner of each record; question lines nobody claims before moving them.
- Lower TTLs in advance. Drop the TTL of the records that will change to a short value at least one full current-TTL period ahead.
- Check the DNSSEC status. If a DS record exists, agree the key plan for the provider change beforehand.
- Build the new zone completely. Create every record at the new provider, including e-mail, DKIM selectors, CAA and verification TXT records.
- Query the new servers directly. Before changing the delegation, send queries straight to the new nameservers and compare the answers with the old ones.
- Change the delegation or records. Do it at a time of relatively low traffic when the team is reachable.
- Verify from several regions. Query from more than one country and through different public resolvers to confirm the new answer is spreading.
- Test the site, SSL and e-mail. Check the homepage, language folders, form submissions, certificate renewal and inbound and outbound mail separately.
- Do not shut down the old provider at once. Keep the old records live for a while so caches can drain, then close the account.
- Restore normal TTLs. Once everything is stable, raise TTL values back to their day-to-day level.
Ownership of DNS Management
A large share of DNS problems are organisational rather than technical. The registrar account is tied to a former employee's mailbox, the agency has access to the DNS panel while the IT team runs the e-mail provider, and a record added for a new marketing tool quietly breaks SPF without anyone being told.
Access and Record Keeping
A basic discipline is to open registrar and DNS provider accounts in the company's name, tied to a mailbox that does not depend on one person, with two-factor authentication switched on and at least two authorised people able to sign in. Keeping record changes in a short change log, or managing the zone as a configuration file where the provider supports it, makes it easier to return to the previous state after a mistake.
Before your next infrastructure change, can you answer this: could you show today, from a single document, why every DNS record on your domain exists and who is allowed to change it?




No comments yet
Leave a Comment