Contact
What are you interested in?
DNS (Domain Name System).
The DNS (Domain Name System) is the address book of the internet: it translates a domain name such as example.ch into the IP address of the server the website runs on, and determines which server receives a domain's email.
DNS (Domain Name System) — Explained in Detail
Computers find each other on the internet by IP address; people use names. DNS connects the two. When someone types an address into the browser, the device asks a DNS resolver, usually run by the internet provider or by services such as Cloudflare or Google. The resolver works its way down the hierarchy: from the root servers to the servers of the top-level domain (for .ch that is the registry SWITCH) and on to the name servers responsible for the specific domain. That is where the records live that say where the request should go.
For an ordinary SME website only a handful of record types matter. An A record points to an IPv4 address, an AAAA record to an IPv6 address. A CNAME record points one name to another, for instance www.example.ch to the hosting provider. MX records determine the mail server. TXT records hold text used for verification — for SPF, DKIM and DMARC, for example, or for confirming the domain in Google Search Console.
Every record carries a TTL (Time to Live), which sets how long resolvers may cache the answer. A TTL of 3,600 seconds means that after a change it can take up to an hour before every visitor sees the new address. Before a planned migration you therefore lower the TTL to a few minutes several days in advance — the switch-over then goes through almost immediately.
Many website and email problems are really DNS problems: a site that only loads with www after a relaunch, mail that stops arriving after a change of hosting provider, or newsletters that land in spam. The cause is almost always a missing, duplicated or incorrect record. Whoever holds access to DNS management effectively controls the entire online presence — which is why that access belongs inside the company, not just with the agency.
DNS during a website migration: the safe sequence
First: export or screenshot all existing records, especially MX and TXT. Second: lower the TTL to 300 seconds a few days beforehand. Third: test the new website fully on the new server before changing DNS. Fourth: change only the website records (A, AAAA, CNAME) and leave the email records untouched unless the mail hosting is moving too. Fifth: after the switch, check the website, incoming email and forms, then raise the TTL again.
Example: new website, email gone
A fiduciary firm has a new website built. On switch-over day the name servers are moved to the new hosting provider. The website runs, but from midday no email arrives: the new provider is missing the MX records for the existing Microsoft 365 mailboxes. With the records documented beforehand, this would have been a five-minute fix.
When we build a new website, we handle the switch-over with exactly this checklist. How to register a .ch domain and manage it properly is covered in the entry Domain.
Related Page
DomainIn-depth on the blog
Domain kaufen in der Schweiz: .ch richtig sichernFrequently Asked Questions About DNS (Domain Name System)
It depends on the TTL of the old record. With a TTL of one hour, most visitors are switched over after an hour; individual resolvers hold records longer. The often-quoted 'up to 48 hours' mainly applies to changing the name servers themselves.
The name servers determine where a domain's DNS records are managed. The DNS records themselves (A, CNAME, MX, TXT) determine where website and mail requests go. If you change name servers, you have to recreate every record at the new provider.
Slightly. The DNS lookup is the first step of every page request. Fast, globally distributed name servers save a few milliseconds, but the big levers for loading time are the server, caching and page size.
More Terms Starting with "D"
Domain Authority
Domain Authority (DA) is a metric developed by Moz (0–100) that predicts the 'strength' of a domain....
Design System
A Design System is a collection of reusable UI components, design tokens, guidelines, and documentat...
Digital Accessibility
Digital accessibility (web accessibility) ensures that websites and apps can be used by everyone — i...
Ready for Your Project?
Apply this knowledge to your website — DLM Digital will help you.