SystemCity
WorkspaceProblemsCanvasPricing
Sign in
S

SystemCity

AI-powered system design tutor. Learn architecture, ace interviews, build real systems.

Learn

  • Learn System Design
  • Interview Prep Guide
  • All Problems
  • Glossary
  • Compare
  • Design Canvas

Product

  • Pricing
  • Portfolio
  • Support

Legal

  • Terms
  • Privacy
  • Refunds

© 2026 SystemCity. All rights reserved.

Master system design · interview prep · 120+ problems

Back to glossary

Networking & Infrastructure

DNS

Also known as: Domain Name System

A hierarchical, distributed naming system that translates human-readable domain names like systemcity.io into IP addresses computers route to.

In depth

The Domain Name System is the phonebook of the internet. When a client wants to reach systemcity.io, it asks a DNS resolver, which walks a hierarchy of name servers — root servers, top-level-domain servers (.io), and the authoritative servers for systemcity.io itself — to find the IP address. Results are cached at every level (browser, OS, recursive resolver, intermediate caches) to make subsequent lookups fast.

DNS is also a powerful traffic-routing tool. Round-robin DNS returns multiple A records to spread load. Geo-DNS returns different IPs based on the client's location, sending users to the nearest data center. Failover DNS removes IPs of unhealthy regions. Anycast DNS routes the same IP to many physical locations and lets BGP pick the closest. Modern systems combine these (Route 53, Cloudflare, NS1) for global traffic management.

DNS-based decisions are bounded by TTL (time to live). A short TTL (60 seconds) lets you fail over quickly but increases lookup load. A long TTL (1 hour) is efficient but slow to react to outages.

When to use

Use DNS-level load balancing for global traffic distribution, regional failover, and as the first layer of routing in a multi-region architecture.

Tradeoffs

DNS caching makes changes slow to propagate. TTL is a blunt tool — clients ignore it inconsistently, and intermediate resolvers add their own caching.

Related terms

CDN (Content Delivery Network)

A globally distributed network of edge servers that cache static content close to end users to minimize latency and origin load.

Load Balancer

A component that distributes incoming network traffic across multiple backend servers to maximize throughput, minimize response time, and avoid overload.

Latency

The time delay between a request being sent and a response being received — typically measured in milliseconds.

Reverse Proxy

A server that sits in front of one or more backend servers and forwards client requests to them, often handling TLS, caching, compression, and load balancing.

TCP vs UDP

TCP is a reliable, ordered, connection-oriented protocol. UDP is a fast, connectionless, best-effort protocol. They serve different workloads.

HTTP/2

A major revision of the HTTP protocol that introduces multiplexing, header compression, and server push over a single binary framing layer on TCP.