Search the Community
Showing results for tags 'resolv.conf'.
Found 2 results
-
I am having a bit of trouble editing the resolv.conf file. Aparently, I cant edit it manually as suggested on the Arch wiki. "To use alternative DNS servers, edit /etc/resolv.conf and add them to the top of the file so they are used first, optionally removing or commenting out already listed servers." https://wiki.archlinux.org/index.php/Resolv.conf Although I can open the file and edit it, I can't save the nameservers I entered. (I am as admin with root privileges.) I thought maybe it was being run by another process so I tried lsattr and nothing was holding it. I even ran chattr -i /etc/resolv.conf just to make sure. Still no avail.
-
if you are using linux + tomato/dd-wrt/etc router as an openvpn client to connect to airvpn's servers and you want a permanent /etc/resolv.conf solution; edit your /etc/dhcp/dhclient.conf file on the computers that are connected to that router. comment out "send host-name = gethostname();" so it looks like "#send host-name = gethostname();". next add "supersede domain-name-servers 10.8.0.1;" to the file, replace 10.8.0.1 with whichever dns server you use. reboot your computer. check your /etc/resolv.conf file after rebooting and establishing an internet connection and you should see the replacement dns/domain servers...