/etc/resolv.conf lists the name servers to query when doing a DNS lookup. It requires sudo privileges to edit.

sudo nano /etc/resolv.conf   

nano is a simple text editor.

The resolver has nothing to do with keyboard and mouse function.