I was trying to change the Google DNS servers to OpenDNS in my resolv.conf file and accidentally added them incorrectly. Now my resolv.conf file looks like this:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 208.67.222.222
nameserver 208.67.220.220
208.67.222.222
208.67.220.220
I was able to properly change the Google nameservers to OpenDNS by editing /etc/networking/interfaces
but now I have those two OpenDNS IPs at the bottom that I'd like to get rid of, but I can't directly edit this resolv.conf file.
How can I remove those two lines or reset this file?
Thanks!