You notice that a remote server is not accessible via its hostname, but it's accessible via its IP address. Which configuration file would you inspect first?

  • /etc/hosts
  • /etc/hostname
  • /etc/resolv.conf
  • /etc/network/interfaces
If a remote server is not accessible via its hostname, checking the /etc/hosts file is a good starting point. This file contains mappings of hostnames to IP addresses, and if there's an issue with name resolution, it's often related to this file.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *