Question: You are configuring a Linux server and want to ensure that the server can resolve its own hostname to the loopback address without querying external

You are configuring a Linux server and want to ensure that the server can resolve its own hostname to the loopback address without querying external DNS servers.
Which file should you edit to achieve this?
answer
/etc/network/interfaces
/etc/hosts
/etc/nsswitch.conf
/etc/resolv.conf

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!