Name resolution translates a domain name into an IP address. It consults the /etc/hosts file, then the configured DNS servers (for example in /etc/resolv.conf or via systemd-resolved). dig and resolvectl help diagnose a resolution problem.
Example
dig example.com +short