Skip to main content
Legia

IT Infrastructure & Cloud

What is DNS?

Also called Domain Name System.

Short definition

DNS (Domain Name System) is the system that translates domain names such as contoh.co.id into server IP addresses, so browsers and email know where to connect.

How it works

When someone types a site address, their device asks a DNS server: what is the IP address for this name? The answer is stored temporarily for a period called the TTL, so the question does not have to be asked every time. That is why DNS changes sometimes take a few minutes to a few hours to take effect.

DNS records companies use most

A and AAAA records point a domain to a server's IP address. A CNAME makes one name an alias of another. MX specifies the server that receives email. TXT holds various information, including SPF, DKIM, and DMARC, which prove that company email really was sent from an authorized server.

Common mistakes

Changing MX records when switching hosting so email stops arriving, forgetting to copy verification TXT records, or a DNS management account held by a former vendor so the company cannot make changes. Keep a list of the active DNS records and make sure management access is held by the company.

Related Legia service Server Installation & Management Setup, hardening, monitoring, and migration for physical, virtual, and cloud servers.

Resources