What does the file /etc/hosts provide?
https://documentation.suse.com/ko-kr/sles/15-SP1/html/SLES-all/cha-network.html
The file that provides local name resolution is /etc/hosts. This file contains mappings of hostnames to IP addresses for hosts on the local network or hosts that are frequently accessed. The system will consult this file before querying DNS servers when resolving hostnames. This can improve performance and security, as well as provide fallback in case DNS servers are unavailable. Reference: https://documentation.suse.com/sles/15-SP3/html/SLES-all/sec-network-dns.html#sec-network-dns-hosts