Topic: Get a better dns server ... faster web browsing.
Yep ... here comes another long, drawn out babbling how to for folks to enjoy.
First let's get summin straight, I am always trying to make things faster, lighter ... More tweaked n retweaked. Am guessing I'm not alone in the pursuit either. So while am cutting back on dumping time on gnu/nix forums. Played around w summin, got good results, so why not share with others ?
This covers fiddling with your dns server settings to speed up web browsers. If you have ( are behind a router, you can change this there and all the PC's on your network can benefit) Or do it to each gnu/nix OS, though also works with window$ too. All this babble is also assuming you don't have a router that uses IPv6, though steps are no doubt more or less the same ... blahblahblah.
As mentioned, who doesn't want a faster web browser ? So this got me thinking and tweaking about a couple popular alternative dns services that are supposed to give that, they did for me for sure.
Opendns and google public dns.
1st things 1st, backup your existing config file so you can change it back whenever.
Open terminal type ...
cat /etc/resolv.confHighlight the contents of the file, everything includ # Generated by NetworkManager on, copy it and paste it into a new text file, so o course you can copy/paste it back if things don't turn out well. There's your default ( ISP's ) dns server IP folks.
Now we do this an easy gui way by typing in terminal ...
gksu nm-connection-editorCredit goes to septennial a #!'er I borrowed it from in the forum.
Network Connections opens, we select the internet connection we want to fiddle with, then we select the edit button. In my case, that's Auto eth0. Next choose the tab "IPV4 Settings" and we see a choice for Method there, we click on that and change it to "Automatic (DHCP) addresses only". And you'll see a place to enter a new DNS server address. This is where we're going to enter either opendns's dns server IP's or the ones for google public dns.
*For opendns: Official site link.
208.67.222.222, 208.67.220.220Which o course is the two IP addresses for their DNS servers, separated by a comma and a space. Just like you see above. Then we click save ... Reboot ... done. Take your new dns settings for a spin ! Yay ! ![]()
Go here to test if you're now using the opendns dns servers. If ya didn't do summin right, you get the red X of death ! If all is well, you will most definitely know it. ![]()
Babblings about opendns ... I didn't like it, you might ... who knows. Why didn't I like em ? Because they hijacked my mozilla address bar searches and redirected them to opendns results instead. You may not care, I did, it was annoying. Opendns seemed a bit heavy handed to me. There are o course no doubt fixes out there. My fix was to use google's dns servers.
*For google public dns: Official link too.
8.8.8.8, 8.8.4.4We put these IP's instead of the IP addresses for opendns's DNS servers. Guess it doesn't hurt to keep a copy of all these dns server IP's, your ISP default, opendns and googles. Changing them around, is just changing that one file. ie: Though on second thought, might stick w the graphical process above.
gksu gedit /etc/resolv.confFile opens as root, we copy and paste the dns servers we prefer, save, close, reboot ... done. Both opendns and google public dns servers are better, faster and more reliable than the one my ISP's using. Yay, again !
Extra credit babbling for fellow mozilla browser users. A couple about:config tweaks I think go well here, if someone is using ipv4. We of course type about:config in the mozilla browsers address bar, accept the warning if we haven't when dirt was invented. In the search bar, we search for ipv and these suckers will popup.
network.dns.disableIPv6 Right click, select toggle and set that to true. Obviously if we aren't using IPv6 we don't need it. Then if the following isn't already set, toggle it to false.
network.http.fast-fallback-to-IPv4There ya have it, hope ya enjoy da browser boost, happy computing fellow gnu/nixers. If I missed anything, by all means share.
vll! and (CB) ![]()
PS, This is a masterpiece of babbling ... *Mwah! iz muey bueno ... ![]()
Last edited by CBizgreat! (2012-03-12 14:12:04)