Stop your DNS Servers from changing after every reboot while using DHCP
https://www.zyxware.com/sites/default/files/styles/user_image/public/pictures/zyxlogo.png?itok=J9t-ZEoU
BY webmaster
11 years ago
Technical-Solution
1 comments comment

Do you find your custom DNS server entries being deleted after every reboot or after every disconnection? Do you use DHCP but still want to use your own DNS servers? Do you want to use OpenDNS and ignore the DNS servers provided by your ISP? Well here is how you can do this on Ubuntu. This solution applies to Ubuntu but might very well work for other distributions of GNU Linux as well.

Open terminal and run

gksu gedit /etc/dhcp3/dhclient.conf

This will open up gedit with super user privileges and open /etc/dhcp3/dhclient.conf for editing. Inside this file add the following lines to add the openDNS nameservers.

prepend domain-name-servers 208.67.222.222;
prepend domain-name-servers 208.67.220.220;

Instead of the OpenDNS servers you can set your own preferred DNS servers. The prepend lines above prepends the given DNS servers to the /etc/resolv.conf file as it is being rewritten by dhclient at the time of a new DHCP request either when the server restarts or when the connection is restarted or when the DHCP lease expires.


RELATED ARTICLE

/themes/custom/zyxpro_light/images/placeholder.png
close

on 04th April 2007 / by webmaster
Linux is the epitome of the FLOSS model. Technical Solution Linux installation Leave a reply Your email address will not be published. Required fields are marked * Dewey J. Corl (not verified) access_time 30 Mar 2020 - 12:02 Linux is not ready for the general public! (I am a Ubuntu user). For proof, 1. try to simply print labels on a Dymo label printer. It takes a LOT of work to get to the ease of label printing already available in Windows and Mac. 2. try syncing a modern Palm based PDA. Yes, jpilot and others will sync the main data, but pictures and midi files do not get transferred without a lot of extra setup. These are examples of applications that are not ready for the general public. Since an operating system only supports applications, Linux is not ready to be a common desktop for the general public. While we are waiting for the applications to catch up, keep up the good work!! Anoop John (not verified) access_time 30 Mar 2020 - 12:02 Dewey Yes you may be right. But these are not applications that a common man would use. A common man would use one of these applications - Internet browser, Chat Client, Email Client, Document Writer, Presentation Creator, Spreadsheet Editor, Movie Viewer, Music Player, CD/DVD Writer. Both examples you cited are more specific applications that only a small percentage of the whole population uses. It will take time before those hardware vendors identify the need from their perspective to address the Linux community. Krishnadas (not verified) access_time 30 Mar 2020 - 12:02 Dear Mr Anoop, Thank you very much for the free installation of LINUX done in my PC. I am getting immersed in the LINUX and seeing the versatility. To my surprise, I am able to read one of my old backup CD(wherein lot of my valuable file exist) done in DIRECT CD wizard (a custom cd writing software of Easy Cd creator in WIN98) which could not be read in XP. Installation of old version of easycd creator/direct cd program was not possible in XP. I thought that possible i lost all data. Very pleasant start! Srikanth N. S. (not verified) access_time 30 Mar 2020 - 12:02 Hi Anoop, My friend is thrilled with Ubuntu. One of his grouses with windows was that after OS installation, everything else is to be installed separately which is a real headache. WHereas if u install Linux, everything is installed as a package and he is thrilled to bits! Let linux installation spread in Trivandrum and your service in this direction is highly appreciated. Kepp up the good work Regards. PDA Freak (not verified) access_time 30 Mar 2020 - 12:02 Is it possible to install linux on a packardbell notebook ? Add new comment
Leave a reply
Your email address will not be published. Required fields are marked *

Filtered HTML

  • Web page addresses and email addresses turn into links automatically.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
The content of this field is kept private and will not be shown publicly.
CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

author-image
Anonymous (not verified)
access_time 30 Mar 2020 - 16:25

i need audio drivers for cq40-317tu for xp, its on ur site but i cannot install it............... pls give l\me the link to download and explain me how to install the AUDIO DRIVER...