Navigating Hostname Conflicts in Linux: /etc/hosts vs DNS
When you type a hostname on a Linux machine, like app01, how does the system know which IP to use? This gets interesting when there are conflicting entries between your local /etc/hosts file and the DNS server.
TL;DR: When resolving hostnames to IP a...
muskanagrawal.hashnode.dev2 min read