Introduction When an application running on a Linux server needs to connect to an external service, the system must identify the correct destination and network path before sending the traffic. For example, when a process tries to connect to a domain such as example.com, the domain name is first resolved… Continue Reading How the Linux Kernel Handles Network Connections Using DNS and Routing

1. Introduction Hostname resolution in Linux is the process of translating a domain name (e.g., example.com) into its corresponding IP address. This process is controlled by: This document explains how hostname resolution works on the current server configuration. 2. Current Configuration 2.1 /etc/nsswitch.conf This line defines the order in which… Continue Reading Name Resolution Flow in Linux