The "/etc/resolv.conf" file becomes empty after each restart and I lose the DNS data set in it. It only contains the following text each time:
# Generated by NetworkManager
What should I do?
The "/etc/resolv.conf" file becomes empty after each restart and I lose the DNS data set in it. It only contains the following text each time:
# Generated by NetworkManager
What should I do?
That file has 2 comments in it:
Why not listen to the people that made/maintain this file? ;-)
From the man page:
Please use the method described here: How do I add a DNS server via resolv.conf? (Randall Cook seems the easiest and works for servers too).