Hey guys, I have problem in my server dns in resolve.conf keep reseting after upgrade or reboot
what should I do to stop this ?
OsaMasw
13
Loving Helper
Recommended Answers
Jump to PostDo you directly edit the file or you use
resolvconf
command?
Jump to PostThe file /etc/resolv.conf (no trailing 'e') is controlled by your network dns settings. If you change it manually, the changes will only be in effect until the next update or reboot, unless you change your network settings to block that. Sorry, but I don't remember right now what settings need …
Jump to PostAlso, if you are using ubuntu 12 or better, dns entries are made in \etc\network\interfaces now.
i.e.
'dns-nameservers 4.2.2.1 4.2.2.2'
All 10 Replies
cereal
1,524
Nearly a Senior Poster
Featured Poster
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
CimmerianX
197
Junior Poster
Makhetha
0
Newbie Poster
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
RaniM
0
Newbie Poster
RaniM
0
Newbie Poster
RaniM
0
Newbie Poster
OsaMasw
13
Loving Helper
CimmerianX
197
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.