If this is your first visit, be sure to
check out the FAQ. You will have to register
before you can post. To start viewing messages,
select the forum that you want to visit from the selection below.
If you have copied text output that contains formatting (colors, highlighting, etc.), please do not enclose it in QUOTE or CODE tags. Just right-click your mouse and choose "Paste Without Formatting" or similar (Paste as plain text).
I used /etc/resolv.conf for manually editing DNS servers when Intrepid Network Manager was not able to set network. It was necessary to edit also /etc/network/interfaces to set ip adresses and start $sudo /etc/init.d/networking restart
to make it work. I use it until now in Jaunty, but there are better ways.
Kubuntu 16.04 on two computers and Kubuntu 17.04 on DELL Latitude 13
/etc/resolv.conf is usually loaded automatically when the network starts up. You shouldn't have to edit this file. If you do, then your networking configuration has been messed up.
"A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
– John F. Kennedy, February 26, 1962.
If you do, then your networking configuration has been messed up.
That is only if you are doing networking exactly like everybody else. Editing resolv.conf is sometimes necessary to do what you want. Even Windoze will allow that.
If you do, then your networking configuration has been messed up.
That is only if you are doing networking exactly like everybody else. Editing resolv.conf is sometimes necessary to do what you want. Even Windoze will allow that.
True, but when a system automatically populates resolv.conf any manual edits you make may get replaced. I haven't been using Kubuntu long enough to know, but I do know that Mandriva, for example, pays no attention to /etc/resolv.conf, which is usually empty. It has its own conf file and doesn't want you to edit it because it is loaded automatically. However, for Kubuntu, a quck check with "locate resolv.conf" shows only one occurance of that file, unlike Mandriva.
"A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
– John F. Kennedy, February 26, 1962.
My manual edits to resolv.conf used to be deleted at the end of the every session. But after manual filling /etc/network/interfaces with ip addresses and after $sudo /etc/init.d/networking restart, they are fixed for months. My resolv.conf contains DNS servers and looks like this:
Code:
# Generated by NetworkManager
nameserver 213.46.172.36
nameserver 213.46.172.37
Kubuntu 16.04 on two computers and Kubuntu 17.04 on DELL Latitude 13
Comment