Navigating Hostname Conflicts in Linux: /etc/hosts vs DNS
Sep 30, 2025 · 2 min read · 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...
Join discussion