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
10 years ago
System-Administration
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 14th August 2007 / by webmaster
One of the most common support requests we receive from our customers is for clearing their compu System Administration Virus Leave a reply Your email address will not be published. Required fields are marked * Vishvesh Nayak (not verified) access_time 25 Feb 2020 - 10:50 I'm immensely thankful to the article posted on your site. I would like to promote your site to my friends. I would like to use this link http://www.zyxware.com/articles/2007/08/14/system-administration/prevent-virus-infection/ to tell about the implications involved in using a pendrive to all my friends. At the same time, address the issues involving usage of Windows Operating System. Devashish (not verified) access_time 25 Feb 2020 - 10:50 nice Micheal (not verified) access_time 25 Feb 2020 - 10:50 Widespread problems and a failure to genuinely protect the public represent tacit encouragment of the spread of spyware and malware by government and industry. The public's ignorance is their misbegotten gain, and any genuine response is muted and rare. This page, for example, touches on only part of the issue, leaving out critical weaknesses. How, for example, do you protect thumbdrives from the most likely source of infection when plugging into a public internet cafe computer (most of which lack good firewalls)? Holding down the shift key is a method already obsolete perhaps, since activating the shift key when loading a thumbdrive simply locks the host computer. Best response to this problem is to buy a WRITE PROTECT thumbdrive so only you can write on it and no one else. Everything else, including most of what's written, is simply a marketing ploy to assuage consumers and keep them sinking millions of dollars into firewalls and spyware protection (most of which is spyware anyway and therefore ethically repugnant...like most industry today. This ubiquitious problem reflects just how unhealthy our culture has become in many ways. I say, leave the public alone and let them have their privacy if they need it. You don't have to pull people's teeth just to see what's underneath them. Add new comment
/themes/custom/zyxpro_light/images/placeholder.png
close

on 15th August 2007 / by webmaster
Ubuntu installation on a system which already has other operating systems is simple. Linux System Administration Ubuntu Windows Leave a reply Your email address will not be published. Required fields are marked * abey (not verified) access_time 25 Feb 2020 - 10:50 What is the benifit of ubuntu Is this is good as fedora? How to install other software in ubuntu? Is it eazy to install linux software in ubuntu? How to get ubuntu in kerala Are there any solution providers in kerala webmaster access_time 25 Feb 2020 - 10:50 In reply to ubuntu by abey (not verified) Ubuntu - Linux for the common man Get Ubuntu CDs Delivered to your doorstep Ubuntu Pre-installed Systems Prasad.S.R (not verified) access_time 25 Feb 2020 - 10:50 Obtain a bootable Windows XP CD, and use it to boot. Wait through all the Bill-messages until you get the first prompt. Choose R to repair an existing installation. It will search and prompt the Windows installation, showing : 1) C:\WINDOWS choose 1, and it will ask for the Admin password. If you have one enter it or just press Enter. C:\WINDOWS> Now, type C:\WINDOWS> CD .. C:\> FIXBOOT C: C:\> FIXMBR C:\> BOOTCFG /rebuild After the BOOTCFG, it will ask if you want to add the Installation it found, and to be safe answer "Y". Prasad.S.R (not verified) access_time 25 Feb 2020 - 10:50 What to do: Put the Linux liveCD or boot disk you created while the installation; on the floppy drive, boot the system and run grub command Remember that for grub (hd0,1) means hda (primary controller master), second partition. Now we need to tell grub where are the grub files: If you know where they are, type something like: root (hd0,1) else if you have no idea, type: find /boot/grub/stage1 and then the root command with the correct parameters: setup (hd0) to install it on hd0, that is MBR of the first HD. type quit and reboot. The menu will appear again. If you want to make some changes to the boot menu, you must edit the file: /boot/grub/menu.lst $ gksu gedit media/disk/boot/grub/menu.lst sagar raythatha (not verified) access_time 25 Feb 2020 - 10:50 Hey all you can find best solution of this problem over here:http://goo.gl/HXsZv Add new comment
/themes/custom/zyxpro_light/images/placeholder.png
close

on 03rd October 2007 / by webmaster
Ubuntu 6.10 had complete multimedia support including mp3, video cds, dvds. Linux System Administration Ubuntu Leave a reply Your email address will not be published. Required fields are marked * music (not verified) access_time 25 Feb 2020 - 10:50 Thank you for good information 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 25 Feb 2020 - 18:56

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...