IT Glossary
DNS (Domain Name System): what it means and how it works
Domain Name System: the system that translates domain names into server IP addresses and tells the world where your email goes — the internet's address book.
- 6
- sections
- 7
- questions answered
DNS (Domain Name System) is the distributed system of servers that translates a domain name, such as yourcompany.com, into the IP address of the server hosting it and says where its email is delivered; it works under the IETF standards RFC 1034 and RFC 1035 (November 1987), on port 53, over both UDP and TCP.
Computers have no idea what "yourcompany.com" means — they talk to numeric addresses, and DNS is the global directory that translates one into the other every time someone opens your website or emails you. Its business weight becomes visible precisely when something breaks: the DNS records of your domain decide where site visitors land and, through MX records, where your email is delivered. One wrong change can pull the whole company off the internet, and unauthorized access to the domain management account is the digital equivalent of handing over the office keys. Three hygiene rules follow. Know where your DNS is managed — often a different place than your hosting — and who holds access. Protect that account with a strong password and two-factor authentication. And make sure the email authentication records (SPF, DKIM, DMARC — all DNS entries) are configured, because without them your messages reach spam folders more often and criminals can impersonate your domain. Any site migration or provider switch should treat DNS as a planned step, never an improvisation.
Why it matters for your business
Control of your online identity
Whoever manages the domain's DNS controls the company's site and email — keep that access in-house, documented and protected with 2FA.
Email that reaches the inbox
Correctly set SPF, DKIM and DMARC records keep your messages out of spam and impostors away from your domain name.
Migrations without vanishing acts
Switching hosts with prepared TTLs and a cutover plan means a smooth transition — not hours of the site randomly unreachable.
How DNS works: from name to IP address
A lookup takes three steps. First, the browser or phone asks a recursive resolver, usually your internet provider's or a public one. If the resolver has no cached answer, it asks the root servers, then the servers of the extension (the registry), then the authoritative name servers declared for the domain, which come from its NS record. The answer returns to you and stays cached for as long as the TTL says, a value set by the zone administrator (RFC 1034).
Queries travel on port 53: UDP for short ones, TCP for large answers and zone transfers; servers must accept both (RFC 1035 §4.2, RFC 7766). For .ro domains, name servers are declared at rotld.ro, in its online administration, and ROTLD states that propagation can take up to 24 hours.
DNS record types: A, AAAA, CNAME, MX, TXT
A domain's DNS zone is a list of records. A links the name to the site's IPv4 address, AAAA to its IPv6 address (RFC 3596). CNAME is an alias: www can point to another service's name, but not on the bare domain, because a CNAME cannot coexist with other records (RFC 1034 §3.6.2). MX names the email server, with a priority: the lower number is tried first. TXT holds free text: the ownership checks Google or Microsoft ask for, plus SPF, DKIM and DMARC. NS says who answers for the domain.
An example in words: yourcompany.com has an A record to the website server, an MX record to the email provider and a TXT record listing the authorized senders. Each changes separately, which is why the website can be moved without email stopping, as long as the MX records are left untouched.
Want an estimate for your project?
Message us on WhatsApp. We reply the same working day, and the first 30-minute call is free.
SPF, DKIM and DMARC: your company email authenticates through DNS
SPF (RFC 7208) is the list of servers allowed to send email for the domain. DKIM (RFC 6376) adds a cryptographic signature to each message, with the public verification key published in DNS. DMARC (RFC 9989, May 2026, which replaces RFC 7489) sets what the receiver does with messages that fail the checks and asks for reports about them.
Gmail's rule, in force since 1 February 2024: every sender needs SPF or DKIM, and anyone sending more than 5,000 messages a day to Gmail needs SPF, DKIM and DMARC; a p=none policy is accepted. Setup steps are on the page about emails landing in spam, linked below.
Registry, registrar, DNS and hosting: who manages what
Four different roles get confused often. The registry (ROTLD for .ro) keeps the record of domains. The registrar is the company through which you registered the domain. The DNS provider, which can be the registrar, the hosting company or a third party like Cloudflare, hosts the zone with the records; the NS records declared at the registry decide which one answers. Hosting holds the website's files. That is why you can change hosting without moving DNS, and the other way round.
Frequently asked questions
I changed a DNS record and the site works for some people but not others — why?
Propagation: the directory is distributed globally and each resolver caches the old answer for the duration of the TTL, so changes appear gradually over minutes to hours; ROTLD cites up to 24 hours for .ro name servers. Professionals lower the TTL before migrations.
Is our DNS managed at the hosting company or at the domain registrar?
It can be either, or a third party like Cloudflare: your company holds the domain as registrant, the registrar only registers it, and the NS records at the registry decide who answers for it. Find out today; during an incident or migration, chasing that answer costs hours.
What are MX records, and why did email stop when the website was moved?
MX records tell the internet where your domain's email gets delivered — separately from the website. In careless migrations someone copies the site records and forgets MX: new site working, email gone. That is why every migration starts with a full inventory of the DNS zone.
Which DNS should I use?
Your provider's default DNS is fine for most people. Public options are Cloudflare 1.1.1.1, Google 8.8.8.8 and Quad9 9.9.9.9, which blocks malicious domains. In a company, set one with malware filtering (1.1.1.2 or 9.9.9.9) on the router, so every device uses it.
What is private DNS on a phone?
It is the Android 9 or newer setting that sends DNS queries encrypted, using DNS over TLS (RFC 7858, port 853). You enter a hostname: one.one.one.one, dns.google or dns.quad9.net. If that server does not answer, the phone shows "no internet access". It is not the same as a VPN.
What is a DNS address?
A DNS address is the IP address of the DNS server your device asks, for example 1.1.1.1. You get it automatically from the router through DHCP or set it by hand. It is not a website's address, but that of the server that translates website names into IP addresses.
What does DMARC p=none mean, and is it enough?
p=none means receivers only report messages that fail the checks, without blocking them. It meets Gmail's minimum for bulk senders but does not stop your domain being spoofed; real protection comes with a quarantine or reject policy, once reports show your legitimate email passes.
Let’s talk about your project
Book a free 30-minute call or send us an email. We reply the same working day.
office@northdan.com · +40 750 252 851