DNS
The system that turns names such as learnsome.tech into IP addresses.
In more detail
DNS stands for Domain Name System. Before a program can connect to a machine by name, it asks DNS for that name's address; a name that does not resolve cannot be reached at all.
Examples
An inventory host whose name does not resolve is reported as unreachable, because Ansible never finds an address to connect to.Docker DNS resolves m01l02-broker to the broker container on the lesson network.In the browser: DNS stands for Domain Name System. Before a browser can connect to a site it must resolve the host name to an IP address, and it caches answers so repeat visits skip the lookup. A preconnect hint can do the lookup early for a server you know you will need.DNS stands for Domain Name System. A stub resolver on your host asks a recursive resolver, which follows referrals from the root down to the authoritative server for the domain and caches the answer for its TTL. A correct answer proves only the naming step: the route, port and application still need testing.Sysmon event 22 records DNS queries; sandbox reports list the domains a sample looked up.In Terraform: DNS records are among the many things Terraform can manage through the right provider. The course mentions them only as an example of knowledge that lives in a provider, not in Terraform itself.Related terms
- unreachable — The task result meaning Ansible could not connect to the host at all, so the module never ran.
- host name — The name a computer or container calls itself on a network.
- Amazon Route 53 — The AWS DNS service, which hosts your domain’s records in a hosted zone and answers queries for them.
- DNS record — One typed entry in DNS, such as an A record mapping a name to an address, with a name, a type, a value and a TTL.
- IP address — The numeric address, such as 192.168.1.10, that identifies a machine or container on a network.
- /etc/hosts — A system file that maps host names to IP addresses on one machine, checked before or instead of DNS.
- localhost — The name a machine uses for itself; traffic sent there never leaves that machine.
- URL — A web address, such as https://example.com/docs, made of a scheme, a host, an optional port and a path.
- container name — A human-readable name you give a container with --name, so you can refer to it without copying its ID.
- advertised address — The host name and port a broker tells clients to use when they connect back to it, set in Redpanda with --advertise-kafka-addr.
- Docker network — A virtual network Docker creates so containers can talk to each other and, if allowed, to the outside world.
- bridge network — The default Docker network type: a private network inside the host that containers join, with its own private addresses.
- navigation — Loading a new page in a tab, from typing an address or clicking a link to receiving and showing the new document.
- preconnect — A resource hint, <link rel="preconnect">, that makes the browser do the DNS lookup, TCP handshake and TLS negotiation with another server before any request is sent.
- stub resolver — The small DNS client inside each host that sends queries to a configured recursive resolver and hands answers to applications.
- recursive resolver — A DNS server that answers clients by following referrals from the root to the authoritative server, then caches the result.
- authoritative name server — A DNS server that holds the official records for a zone and answers for it directly rather than from a cache.
- TTL — How long a stored item, such as a session, token or cache entry, stays valid before it expires.
- provider — A plugin that teaches Terraform how to talk to one API, such as AWS or your local disk, and which resource types it offers.
Taught in
- Connections And Privilege Escalation — Ansible Configuration Management at Scale
- Twelve Alerts, Ten Services — AWS Certified Cloud Practitioner (CLF-C02) Exam Prep
- Nine Jobs, Not Nine Servers — AWS Certified Cloud Practitioner (CLF-C02) Exam Prep
- The Public Subnet That Was Not — AWS Certified Cloud Practitioner (CLF-C02) Exam Prep
- Technology Sprint: The Design Review — AWS Certified Cloud Practitioner (CLF-C02) Exam Prep
- Confusable Services Sprint: One Clue Each — AWS Certified Cloud Practitioner (CLF-C02) Exam Prep
- High Availability Across Tiers: What Fails Over By Itself? — AWS Certified DevOps Engineer – Professional (DOP-C02) Exam Prep
- Security Hub, GuardDuty And Inspector: Signal, Noise And Response — AWS Certified DevOps Engineer – Professional (DOP-C02) Exam Prep
- The Morning An Availability Zone Went Dark — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Private Paths: VPC Endpoints And PrivateLink — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- The Edge: WAF, Shield, CloudFront And GuardDuty — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Databases That Survive: Standbys, Replicas And Global Tables — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Route 53 Routing: Where Does A Fan In Lagos Land? — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Network Performance: Peering, Transit Gateway And The Edge — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Monday, Five Tickets — Microsoft Azure Administrator (AZ-104) Exam Prep
- The Deleted IP Address: Locks, Tags, Groups And Subscriptions — Microsoft Azure Administrator (AZ-104) Exam Prep
- Twenty Minutes Down At Lunchtime: App Service Plans And Slots — Microsoft Azure Administrator (AZ-104) Exam Prep
- Bristol Cannot See The Scans: Address Plans, Peering And Routes — Microsoft Azure Administrator (AZ-104) Exam Prep
- No Public Doors: Bastion, Service Endpoints And Private Endpoints — Microsoft Azure Administrator (AZ-104) Exam Prep
- Healthy, Said The Load Balancer: Azure DNS And Load Balancing — Microsoft Azure Administrator (AZ-104) Exam Prep
- Networking — Microsoft Azure Fundamentals (AZ-900) Exam Prep
- Moving Data In — Microsoft Azure Fundamentals (AZ-900) Exam Prep
- Look-Alike Services Sprint — Microsoft Azure Fundamentals (AZ-900) Exam Prep
- Pipelines, tee And Process Substitution — Bash Scripting & Command Line Automation
- A Service With Nobody Behind It — Certified Kubernetes Administrator (CKA) Exam Prep
- The Name That Will Not Resolve — Certified Kubernetes Administrator (CKA) Exam Prep
- Blocked On Purpose: Opening One Path Through Default Deny — Certified Kubernetes Administrator (CKA) Exam Prep
- Four Faults, Twelve Minutes — Certified Kubernetes Administrator (CKA) Exam Prep
- HA Control Planes: Quorum, Stacked Or External — Certified Kubernetes Administrator (CKA) Exam Prep
- CNI, CSI, CRI And CRDs: The Plug-In Points — Certified Kubernetes Administrator (CKA) Exam Prep
- Which IP Answers: Pods, Services And NodePorts — Certified Kubernetes Administrator (CKA) Exam Prep
- NetworkPolicy Truth Tables: One Dash Decides — Certified Kubernetes Administrator (CKA) Exam Prep
- Debugging Applications In Kubernetes — Certified Kubernetes Application Developer (CKAD) Exam Prep
- Services And Empty Endpoints — Certified Kubernetes Application Developer (CKAD) Exam Prep
- Services And Networking: Timed Drill And Checkpoint — Certified Kubernetes Application Developer (CKAD) Exam Prep
- Default Deny, Then Exactly The Doors You Need — Certified Kubernetes Security Specialist (CKS) Exam Prep
- The Metadata Endpoint And The Kubelet's Front Door — Certified Kubernetes Security Specialist (CKS) Exam Prep
- Network Exposure: NodePorts, Host Firewalls And Egress — Certified Kubernetes Security Specialist (CKS) Exam Prep
- Encrypting Pod-to-Pod Traffic: mTLS With Istio And Cilium — Certified Kubernetes Security Specialist (CKS) Exam Prep
- Mock Exam: Seventeen Security Tasks Against The Clock — Certified Kubernetes Security Specialist (CKS) Exam Prep
- Security Groups and Firewalls — Cloud Infrastructure & Hyperscaler Architecture
- Load Balancing and DNS — Cloud Infrastructure & Hyperscaler Architecture
- The Two A.M. Page — CompTIA Cloud+ (CV0-004) Exam Prep
- The Range That Already Belonged To Someone — CompTIA Cloud+ (CV0-004) Exam Prep
- The Container That Did Not Come Back — CompTIA Cloud+ (CV0-004) Exam Prep
- Architecture Sprint: Ten Faults Before Friday — CompTIA Cloud+ (CV0-004) Exam Prep
- Deployment Sprint: A Plan That Deletes The App Server — CompTIA Cloud+ (CV0-004) Exam Prep
- No Patch Is Coming: The Life Cycle Of Cloud Resources — CompTIA Cloud+ (CV0-004) Exam Prep
- The Bill That Jumped Overnight: Spotting Attacks — CompTIA Cloud+ (CV0-004) Exam Prep
- Fine From Home, Broken At The Office: Network Troubleshooting — CompTIA Cloud+ (CV0-004) Exam Prep
- A Padlock Warning On Monday: Troubleshooting Security — CompTIA Cloud+ (CV0-004) Exam Prep
- Troubleshooting Sprint: Three Tickets, One Morning — CompTIA Cloud+ (CV0-004) Exam Prep
- Sixty Six Of Eighty Five: The Mock And Its Report — CompTIA Cloud+ (CV0-004) Exam Prep
- Exam On Thursday: The PBQ Clinic And Final Review — CompTIA Cloud+ (CV0-004) Exam Prep
- Kubernetes NetworkPolicies & Microsegmentation — Cloud Security & DevSecOps Engineering
- Runtime Anomaly Detection with Falco & eBPF — Cloud Security & DevSecOps Engineering
- Threat Detection with GuardDuty & Anomaly Analytics — Cloud Security & DevSecOps Engineering
- Works On A Laptop, Fails In Production — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Stuck On One Record — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- The Certificate That Expired On A Sunday — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Social Engineering, Phishing & Human Defense — Cybersecurity Fundamentals, GRC & Cryptography
- Public Key Infrastructure: X.509 Certificates & CAs — Cybersecurity Fundamentals, GRC & Cryptography
- Data Loss Prevention & Egress Monitoring — Cybersecurity Fundamentals, GRC & Cryptography
- Disaster Recovery Sites: Hot, Warm & Cold — Cybersecurity Fundamentals, GRC & Cryptography
- Bridge Networks, DNS And Container Communication — Docker Architecture & Production Containers
- Define The Service And Database With Compose — Docker Architecture & Production Containers
- How Browsers Work: Navigation, DNS, TCP, TLS And Request Timing — Frontend Architecture & Web Platform
- Critical Rendering Path: Preload, Prefetch And Scripts — Frontend Architecture & Web Platform
- Organisation, Folders And Projects — Google Cloud Associate Cloud Engineer Exam Prep
- GKE Clusters And A First Deploy — Google Cloud Associate Cloud Engineer Exam Prep
- Running The Network — Google Cloud Associate Cloud Engineer Exam Prep
- Calling APIs with net/http Client — Concurrent Systems Programming with Go
- Layers And Addresses — ISC2 Certified in Cybersecurity (CC) Exam Prep
- Starting A Broker And Reading Its Metadata — Apache Kafka & Event Streaming
- Who Owns The Symptom: Control Plane And Nodes — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- Same Name, Wrong Namespace: Objects, Namespaces And Labels — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- Five Jobs, Five Workloads — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- A Name That Outlives Its Pods: Services And DNS — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- Running, Green And Still Broken: Debugging Applications — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- Delivery Sprint: Friday At Five — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- Forty Four Of Sixty: The Full Mock, And How To Read It — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- Seven Findings, Two Owners: The 4Cs And Shared Responsibility — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- One Dash Too Many: Segmentation With Network Policy — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Draw The Boundaries: Trust And Data Flow — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- The Report That Ate The Node: Denial Of Service And Malicious Code — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- One Pod Away: Network Attackers And Sensitive Data — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- A Cluster's First Birthday: PKI And Connectivity — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Audit Day: Final Review — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Worker Nodes: kubelet, Runtime, CNI And kube-proxy — Kubernetes: Production-Grade Container Orchestration
- ClusterIP, Selectors, EndpointSlices And DNS — Kubernetes: Production-Grade Container Orchestration
- NodePort, LoadBalancer And ExternalName — Kubernetes: Production-Grade Container Orchestration
- Ingress: Controllers, Hosts, Paths And TLS — Kubernetes: Production-Grade Container Orchestration
- NetworkPolicy And The Consul Service Mesh Boundary — Kubernetes: Production-Grade Container Orchestration
- Troubleshooting: DNS, Empty Endpoints And Broken Routes — Kubernetes: Production-Grade Container Orchestration
- StatefulSets, Stable Identity And Data Recovery — Kubernetes: Production-Grade Container Orchestration
- Troubleshooting: A Timed Service Recovery Drill — Kubernetes: Production-Grade Container Orchestration
- The Layer Model, As Far As It Earns Its Place — Linux Fundamentals & Systems Administration
- DNS Resolution, End To End — Linux Fundamentals & Systems Administration
- Record Types, Caching And Time To Live — Linux Fundamentals & Systems Administration
- TCP Versus UDP — Linux Fundamentals & Systems Administration
- The Diagnostic Ladder: Is It Up, Is It Named, Is It Routed — Linux Fundamentals & Systems Administration
- libuv Architecture: Event Demultiplexer & Thread Pool — Node.js Internals & Backend Services
- Two Replicas, Half A Trace: Scaling The Collector — OpenTelemetry Certified Associate (OTCA) Exam Prep
- Forty Seconds At Two: Push, Pull And Service Discovery — Prometheus Certified Associate (PCA) Exam Prep
- A Database You Cannot Recompile: Exporters — Prometheus Certified Associate (PCA) Exam Prep
- Time Clients With chrony — Red Hat Certified System Administrator (EX200) Exam Prep
- nmcli: IPv4 And IPv6 That Survive The Reboot — Red Hat Certified System Administrator (EX200) Exam Prep
- Host Names And Name Resolution — Red Hat Certified System Administrator (EX200) Exam Prep
- Mock Exam, Part 1: Eighteen Tasks, One Reboot — Red Hat Certified System Administrator (EX200) Exam Prep
- Windows Event Logs, Sysmon & Linux Auditd Telemetry — Security Operations & Threat Hunting (SOC)
- Adversary Tactics, Techniques & Procedures (TTP) Mapping — Security Operations & Threat Hunting (SOC)
- Malware Triage: Hashes, Strings & Sandboxing — Security Operations & Threat Hunting (SOC)
- Simulation: Attacks In The Logs — CompTIA Security+ (SY0-801) Exam Prep
- Providers And The required_providers Block — Infrastructure as Code with Terraform
- Infrastructure As Code, And One Workflow For Every Platform — HashiCorp Terraform Associate (004) Exam Prep
- Where Modules Come From — HashiCorp Terraform Associate (004) Exam Prep
- Module Versions: Pin, Upgrade, Re-Initialise — HashiCorp Terraform Associate (004) Exam Prep
- Stuck In Pending: Troubleshooting Services And Reading docker inspect — Docker Certified Associate (DCA) Exam Prep
- One Comma, No Engine: Installing And Configuring Docker Engine — Docker Certified Associate (DCA) Exam Prep
- Port 2375, Open To The Office: Engine TLS And Registry Certificates — Docker Certified Associate (DCA) Exam Prep
- Installation Sprint: Eight Configuration Calls — Docker Certified Associate (DCA) Exam Prep
- One Name That Fails: The Container Network Model, Drivers And DNS — Docker Certified Associate (DCA) Exam Prep
- It Works On The Host: Publishing Ports And Tracing Connections — Docker Certified Associate (DCA) Exam Prep
- Any Node, Any Task: Overlay Networks, The Routing Mesh And Layer 7 — Docker Certified Associate (DCA) Exam Prep
- Networking Sprint: Eight Questions On Bridges, Meshes And Ports — Docker Certified Associate (DCA) Exam Prep
- Four Minutes To Boot: Firmware, GRUB, Kernel And Targets — CompTIA Linux+ (XK0-006) Exam Prep
- A Server Nobody Can Find: Addresses, Routes And Names On Both Families — CompTIA Linux+ (XK0-006) Exam Prep
- Down Until Morning: Unit Files, Drop-ins, Masks And systemd's Helpers — CompTIA Linux+ (XK0-006) Exam Prep
- Clocks, Names, Addresses And Pages: The Services Every Depot Runs — CompTIA Linux+ (XK0-006) Exam Prep
- The Certificate That Expired On A Sunday: Hashes, Encryption And Certificates — CompTIA Linux+ (XK0-006) Exam Prep
- The Customers Noticed First: SLAs, SLOs, Alerts, SNMP And Log Aggregation — CompTIA Linux+ (XK0-006) Exam Prep
- The Tracker Is Down, For Some People: Link, Address, Route, Name And Port — CompTIA Linux+ (XK0-006) Exam Prep
- Ninety Minutes, Five Domains: The Full Mock And The Week Before The Exam — CompTIA Linux+ (XK0-006) Exam Prep
- Addresses, Gateways And Names On Both Stacks — Linux Foundation Certified System Administrator (LFCS) Exam Prep
- Network Troubleshooting: The Ladder From Link To Port — Linux Foundation Certified System Administrator (LFCS) Exam Prep
- Services You Write: Units, Drop-Ins And The Reload — Linux Foundation Certified System Administrator (LFCS) Exam Prep
- SSL Certificates: Create, Inspect And Verify A Chain — Linux Foundation Certified System Administrator (LFCS) Exam Prep
- Drill: A Gateway That Survives The Reboot — Linux Foundation Certified System Administrator (LFCS) Exam Prep
- Mock Exam, Part 1: Seventeen Tasks, One Reboot — Linux Foundation Certified System Administrator (LFCS) Exam Prep
- Exam 102 Strategy: Quick Points And Slow Projects — LPIC-1 Linux Administrator (101-500 and 102-500) Exam Prep
References
- RFC 1034: Domain names, concepts and facilities
- RFC 1034: Domain names, concepts and facilities
- AWS: What is DNS?
- Docker networking
- RFC 1035: Domain names, implementation and specification
- RFC 1034: domain names, concepts and facilities
Certification courses
- AWS Cloud Practitioner course and practice exam: CLF-C02
- AWS DevOps Engineer Professional course and practice exam: DOP-C02
- AWS Solutions Architect Associate course and practice exam: SAA-C03
- AZ-104 course and practice exam: Microsoft Azure Administrator
- AZ-900 course and practice exam: Microsoft Azure Fundamentals
- CKA course and practice exam: Certified Kubernetes Administrator
- CKAD course and practice exam: Certified Kubernetes Application Developer
- CKS course and practice exam: Certified Kubernetes Security Specialist
- CompTIA Cloud+ course and practice exam: CV0-004
- CCDAK and CCAAK course and practice exams: Confluent Apache Kafka certifications
- Google Associate Cloud Engineer course and practice exam: Google Cloud certification
- ISC2 CC course and practice exam: Certified in Cybersecurity
- KCNA course and practice exam: Kubernetes and Cloud Native Associate
- KCSA course and practice exam: Kubernetes and Cloud Native Security Associate
- OTCA course and practice exam: OpenTelemetry Certified Associate
- PCA course and practice exam: Prometheus Certified Associate
- RHCSA course and practice exam: Red Hat Certified System Administrator (EX200)
- CompTIA Security+ course and practice exam: SY0-801
- Terraform Associate course and practice exam: HashiCorp Terraform Associate (004)
- DCA course and practice exam: Docker Certified Associate
- CompTIA Linux+ course and practice exam: XK0-006
- LFCS course and practice exam: Linux Foundation Certified System Administrator
- LPIC-1 course and practice exam: Linux Administrator (101-500 and 102-500)