DNS address gets reset on reboot

Asked by Raghuram

Hello,

I recently installed mysql (Ver 14.12 Distrib 5.0.22) on my Ubuntu box (v6.06 with kernel version 2.6.15-27-386). Since then, my DNS address keeps getting reset every time I reboot. I have to supply the dns ip address after reboot. Can someone tell me what I need to do to stop this from happening?

Regards,
Raghu.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Gabriel Puliatti
Solved:
Last query:
Last reply:
Revision history for this message
Gabriel Puliatti (predius) said :
#1

This link on the ubuntu forums will help you.

http://www.ubuntuforums.org/showpost.php?p=1364482&postcount=19

If you cannot read that, modify your /etc/resolvconf/resolv.conf.d/base and add the IP of your DNS server, preceded by "nameserver".

Revision history for this message
Raghuram (raghums) said :
#2

That worked! Thanks!! But is there something wrong on my machine due to which dns was getting reset everytime? I would like to correct the "root cause" if possible.

Revision history for this message
Ubuntu User (anotherubuntuuser) said :
#3

If these comments solved your problem, please consider closing this request as answered. You can find useful information on managing your support requests here: https://wiki.ubuntu.com/SupportRequests

If you are still having problems, let us know and we'll keep working on them.

Thanks-

Jim Jones

Revision history for this message
Raghuram (raghums) said :
#4

Gabriel solution solved my problem. Thanks again! Will try to find out more as to why dns entries in /etc/resolv.conf alone keeps getting overwritten upon reboot and why I have to have entries in /etc/resolvconf/resolv.conf.d/base in order to retain my setting between.