Skip to content
Captain's Academy0
← Kubernetes sea chart
Island 8 · Networking · Port 8.2

DNS basics

Ask the Captain
Instagram
ping 192.168.1.11 works. ping db: unknown host.
You'll learn to

explain /etc/hosts, resolv.conf, record types

Recap

  1. 1/etc/hosts is local, resolv.conf points to the DNS server
  2. 2nsswitch.conf: files first, then DNS
  3. 3Records: A, AAAA, CNAME
Check yourself

Which file says which DNS server a Linux machine asks?

8.2

Stamp this lesson

Watched it and passed the check? Mark it in your logbook.