Skip to main content

Posts

Showing posts with the label nsswitch

LPI E C1 - DNS

Demystifying Name Resolution Practice Questions/Answers Below The essay outline I. Introduction Brief overview of the importance of name resolution on a Linux host Mention of the three critical files for name resolution:  /etc/hosts /etc/resolv.conf /etc/nsswitch.conf II. /etc/hosts Definition of /etc/hosts and its purpose Explanation of how /etc/hosts is used for name resolution Examples of common /etc/hosts configurations Advantages and disadvantages of using /etc/hosts for name resolution III. /etc/resolv.conf Definition of /etc/resolv.conf and its purpose Explanation of how /etc/resolv.conf is used for name resolution Examples of common /etc/resolv.conf configurations Advantages and disadvantages of using /etc/resolv.conf for name resolution IV. /etc/nsswitch.conf Definition of /etc/nsswitch.conf and its purpose Explanation of how /etc/nsswitch.conf is used for name resolution Examples of common /etc/nsswitch.conf configurations Advantages and disadvantages of using /etc/nsswit...