How To: Change DNS (and make web surfing faster)

How To: Change DNS (and make web surfing faster)

The Internet is so big now, and the average person has more bandwidth at home then existed in the entire world in 1980, that the biggest slow down in web surfing has become the initial DNS or Domain Name Service look up. DNS is the service that translates the human readable Domain Name of 1nova.com into the computer readable 173.236.191.132.

All ISP’s provide a DNS service of some sort that is usually automatically setup. By changing the default to faster servers, you can decrease the lookup time, and increase your web browsing speed. The first step to doing this is to download a program that looks for the fastest DNS near you.

namebench does exactly that.

Once you have a new DNS IP, follow the below directions. Note in the directions below that 8.8.8.8 are Google’s DNS servers. The actual numbers you want to use may differ.

Linux

In most modern Linux distributions, DNS settings are configured through Network Manager.
Example: Changing DNS server settings on Ubuntu
In the System menu, click Preferences, then click Network Connections.
Select the connection for which you want to configure Google Public DNS. For example:
To change the settings for an Ethernet connection, select the Wired tab, then select your network interface in the list. It is usually called eth0.
To change the settings for a wireless connection, select the Wireless tab, then select the appropriate wireless network.
Click Edit, and in the window that appears, select the IPv4 Settings or IPv6 Settings tab.
If the selected method is Automatic (DHCP), open the dropdown and select Automatic (DHCP) addresses only instead. If the method is set to something else, do not change it.
In the DNS servers field, enter the Google Public DNS IP addresses, separated by a space:
For IPv4: 8.8.8.8 and/or 8.8.4.4.
For IPv6: 2001:4860:4860::8888 and/or 2001:4860:4860::8844
Click Apply to save the change. If you are prompted for a password or confirmation, type the password or provide confirmation.
Test that your setup is working correctly; see Testing your new settings below.
Repeat the procedure for additional network connections you want to change.
If your distribution doesn’t use Network Manager, your DNS settings are specified in /etc/resolv.conf

Mac OS X

DNS settings are specified in the Network window.
Example: Changing DNS server settings on Mac OS 10.5
From the Apple menu, click System Preferences, then click Network.
If the lock icon in the lower left-hand corner of the window is locked, click the icon to make changes, and when prompted to authenticate, enter your password.
Select the connection for which you want to configure Google Public DNS. For example:
To change the settings for an Ethernet connection, select Built-In Ethernet, and click Advanced.
To change the settings for a wireless connection, select Airport, and click Advanced.
Select the DNS tab.
Click + to replace any listed addresses with, or add, the Google IP addresses at the top of the list:
For IPv4: 8.8.8.8 and/or 8.8.4.4.
For IPv6: 2001:4860:4860::8888 and/or 2001:4860:4860::8844
Click Apply and OK.
Test that your setup is working correctly; see Testing your new settings below.
Repeat the procedure for additional network connections you want to change.

Microsoft Windows

DNS settings are specified in the TCP/IP Properties window for the selected network connection.
Example: Changing DNS server settings on Microsoft Windows 7
Go the Control Panel.
Click Network and Internet, then Network and Sharing Center, and click Change adapter settings.
Select the connection for which you want to configure Google Public DNS. For example:
To change the settings for an Ethernet connection, right-click Local Area Connection, and click Properties.
To change the settings for a wireless connection, right-click Wireless Network Connection, and click Properties.
If you are prompted for an administrator password or confirmation, type the password or provide confirmation.
Select the Networking tab. Under This connection uses the following items, select Internet Protocol Version 4 (TCP/IPv4) or Internet Protocol Version 6 (TCP/IPv6) and then click Properties.
Click Advanced and select the DNS tab. If there are any DNS server IP addresses listed there, write them down for future reference, and remove them from this window.
Click OK.
Select Use the following DNS server addresses. If there are any IP addresses listed in the Preferred DNS server or Alternate DNS server, write them down for future reference.
Replace those addresses with the IP addresses of the Google DNS servers:
For IPv4: 8.8.8.8 and/or 8.8.4.4.
For IPv6: 2001:4860:4860::8888 and/or 2001:4860:4860::8844
Restart the connection you selected in step 3.
Test that your setup is working correctly; see Testing your new settings below.
Repeat the procedure for additional network connections you want to change.

How To: Create and Import vcf VCards

How To: Create and Import vcf VCards

VCards are simply virtual business cards used to exchange contact information. They are easily recognizable with the .vcf file extension. Vcards have rapidly become a universally excepted way of transferring contact information between devices. They can be sent to most phones such as Blackberries and iPhones, or to all the popular Email programs and multiple contact collection programs.

The first step in creating a VCard is actually the hardest. Below is an example of my own VCard:

BEGIN:VCARD
VERSION:2.1
FN:Rick Hamell
N:Hamell;Rick;;;
TEL;PREF;CELL:971.555.5555
EMAIL;INTERNET:rick@hamell.net
URL:http://RickHamell.com
URL:http://www.1nova.com/blog
URL:http://www.1nova.com/photoblog
UID:efc38667f3b9ab04495f9c54d2587950
REV:2008-10-27T20:47:59Z
END:VCARD

As can be seen it shows all the important contact info that would be found in any contact program. In addition to Email addresses it includes my phone number and URL to my website.

Many programs such as Apple’s Address Book, or Microsoft Outlook will allow exporting a contact to a VCard file. They can also be edited with a text file as long as the conventions in structure are observed. The easiest method is to use an online generator. I prefer Wacomenance.co.uk but the one at Vicintl.com is more streamlined and compatible. Keep in mind that while MOST programs should read all the fields in a VCARD, some will drop fields such as second and third email addresses.

After creating a card the next step is to import it in to the preferred Contact Program.

Microsoft Outlook:

  • Click on File menu, then choose Import And Export.
  • Click to select the Import a vCard file (*.vcf) check box, and then click Next.
  • Select the vCard file, and then click Open.

Microsoft Entourage:

  • Open Entourage
  • Click on Address Button
  • Drag .VCF file to upper right hand window of Entourage

Apple Address Book:

  • Simply Double Click on the .VCF Card

Mozilla Thunderbird:

  • Attach VCard in Email to self
  • Click on VCard
  • Click OK in “New Card for” Dialog Box

Keep in mind that VCards only really work well with one contact at a time. This is not the way to export or import a fully populated address book. Also, it’s best to be careful where the file goes as it could be used for malicious purposes. Only send the file out to people known to you.

How To: Shorten URL for emailing links

How To: Shorten URL for emailing links

With the rise of Javascript and other web based programing languages, links to certain webpages have grown downright unwieldy. Places like eBay, Amazon, and many online shopping programs are the worst cases. But these portals provide such a vast number of items that any flat file based system from the 90’s would require a team of people to update it 24 hours a day as prices change and stock comes and goes.

Enter a plethora of web sites that “shorten” a given URL and present it in a friendlier format.

Tinyurl is one of the oldest and most popular of such services. They even provide a link that can be dragged to the browser tool bar for on the fly URL shortening services.

For instance: http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%2Fwww.amazon.com%2FHeroes-Season-2-Jack-Coleman%2Fdp%2FB001B7CNZ6%3Fpf%5Frd%5Fp%3D294635701%26pf%5Frd%5Fs%3Dright-5%26pf%5Frd%5Ft%3D101%26pf%5Frd%5Fi%3D507846%26pf%5Frd%5Fm%3DATVPDKIKX0DER%26pf%5Frd%5Fr%3D06WM4R0ZBZMYJDY834NZ&tag=ricktech-20&linkCode=ur2&camp=1789&creative=9325

Becomes: http://tinyurl.com/5gvb4j

Minilink.org does the same thing, and even has a tools page that has a tool bar Javascript link just like Tinyurl. This site has one huge advantage over TinyURL though. Their links include the server name to keep people from inadvertently visiting the seedy parts of the Internet.

Thus the above link becomes: http://lnk.nu/amazon.com/n4m.html

While not every URL needs to be shortened, there are plenty that do. These two tools will certainly help in cases when it is needed. Email, IM’s, forum postings, etc would all benefit.

How To: Speed up Web Surfing

How To: Speed up Web Surfing

We would all like to surf the Internet a little faster. Unluckily Web Browsers, Network speed, and computer speed all conspire to make surfing the web as slow as possible.

Luckily each browser has a couple of tweaks that can be used to make things go faster.

Firefox
Firefox actually has the most options to affect network speeds. So many in fact that not only does Mozilla have a page about it, there are several blogs about it. These are very easy to access, simply type: about:config in your address bar.

Change the following settings:

  • network.http.pipelining, change the value from 4 to 8.
  • network.dns.disableIPv6, change value to true
  • network.http.proxy.pipelining, change to true
  • If those feel like to much trouble, there is a Firefox plugin that helps: chromedit

    Internet Explorer

    This first tip is Vista specific and is untested by me. I’ve heard that it works extremely well though but just like all these other settings your mileage may vary. http://www.wisebread.com/quick-vista-hack-to-get-you-browsing-at-high-speed-again

    The second tip is a bit more general. Using regedit we change the default number of connections from two to a larger number. Keep in mind that this will not always be reliable as some larger sites will limit the number of connections on their side.

  • Go to Start -> Run
  • Type “regedit”
  • Go to the value: HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionInternet Settings
  • On right side check for these two values: MaxConnectionsPerServer MaxConnectionsPer1_0Server
  • If they’re not present: right-click on the white region of Regedit’s right-hand column, click New, and then click DWORD Value.
  • Type: MaxConnectionsPerServer and hit enter
  • Right Click again and add the value: MaxConnectionsPer1_0Server
  • On each value, MaxConnectionsPerServer and MaxConnectionsPer1_0Server, click on decimal and change the number from 2 (or 0) to something like 6 or 8
  • Close Regedit, start Internet Explorer and enjoy
  • Safari
    Speeding up Safari is a bit different then the other browsers. You are actually SLOWING the browser down. Safari has a setting that changes the delay on the browser from one second to a slower integer. In Terminal (with Safari closed) type: defaults write com.apple.Safari WebKitInitialTimedLayoutDelay 0.25

    The last number is time in seconds and can be anything between 0 and 1. So 0.34 or .81 are acceptable along with the more rounded 0.5 and 0.75.

    Another good hint is to clear the cache, favorites icons, addons, and removing the preference file. Macrumors put together a great page showing how to do that.

    Keep in mind that most of these will not drastically speed up your Internet, it’ll be a small but usually noticeable speed increase. Keeping your computer in top shape and virus free will also go a long ways towards helping speed up the your web surfing.