Which file in Linux would you edit to set a system's DNS resolver addresses?

  • /etc/resolv.conf
  • /etc/hostname
  • /etc/dns.conf
  • /etc/networks
To set a system's DNS resolver addresses in Linux, you would edit the /etc/resolv.conf file. This file contains the IP addresses of the DNS servers that the system should use for domain name resolution.
Add your answer
Loading...

Leave a comment

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