resolv.conf (/etc/resolv.conf)

The /etc/resolv.conf file is the main configuration file for DNS resolution. Its format is quite simple. It is a text file that has one keyword per line. There are three keywords typically used by the file. These keywords are:

By default this file is set to:

nameserver 127.0.0.1
nameserver 192.168.1.254

You should not need to change it. The file, by default, shows the address of the local DNS server (192.168.1.254) provided by dnsmasq. dhcpcd won't override the address unless you implicitly allow it. Check the dhcpcd documentation below if you want to change that.