>_ IzzyLab

Topic breakdown

The resolver turns domain names into IP addresses, and the list of DNS servers for that is taken from /etc/resolv.conf — one nameserver <IP> line per server, queried in order. To add your own server you need to append a new line at the end, without overwriting the existing ones, or you risk ending up with no resolving at all. On real systems this file is often generated by daemons (systemd-resolved, NetworkManager) and a manual edit gets overwritten — but for a learning container, editing it directly is enough.

What's checked

  1. nameserver 1.1.1.1 added
  2. the existing nameservers are still there

What it looks like