Domain Name System (DNS)

The Domain Name System (DNS) is the internet's address book: it translates names people use, like example.com, into the IP addresses computers use to connect. It's also a common target and a useful security control.

BeginnerCategory: Network and internet security

Also called: DNS, domain name system, DNS server, DNS resolver, protective DNS, DNS filtering

What is DNS?

When you type a web address or send an email, your device asks a DNS resolver, "what's the IP address for this name?" The resolver looks it up through a hierarchy of DNS servers and returns the answer, usually in milliseconds. The system, designed in the 1980s and described in RFC 1034, handles almost every connection on the internet.

DNS records businesses should know

  • A and AAAA records point a domain to an IP address.
  • MX records say which servers receive your email.
  • TXT records hold email security settings such as SPF, DKIM and DMARC.
  • CNAME records point one name to another, often a cloud service.

DNS and security

As a target: attackers can redirect traffic with DNS spoofing or by taking over a company's domain records (DNS hijacking). NIST's secure DNS guide covers these threats and protections such as DNSSEC.

As a defense: protective DNS services check every lookup against lists of malicious domains and block the connection before it starts, stopping many phishing and malware sites. CISA runs a protective DNS service for federal agencies, and similar services are widely available for businesses.

Tips for small businesses

Lock your domain at the registrar with MFA, keep DNS records tidy, set up SPF, DKIM and DMARC, and use a protective DNS service on office networks and laptops.

Related terms

Sources

  1. RFC 1034: Domain Names, Concepts and Facilities (IETF)
  2. SP 800-81-2: Secure Domain Name System (DNS) Deployment Guide (NIST)
  3. Protective Domain Name System Resolver (CISA)

Drafted with AI assistance, then edited and fact-checked by a person. How we use AI.