What is DNS? A very basic primer
Queue the introduction.
As a 44-year-old nerd, I spent nearly 1/4 of my entire adult life working as a PHP programmer for large Internet registrar. When things were slow or I was between projects, I also had the dubious honor of doubling as a third-level customer support guy who specialized in trying to resolve e-mail related issues.
Of all the millions of questions I ran across when dealing with the average mom or pop, one of the most common was “What in the heck is DNS?“.
DISCLAIMER OF THE WEEK: I’m not a DNS expert by any means, nor do I play one on TV, but in trying to help the thousands of customers who needed it over the years, I always found the following little analogy to be very helpful in getting the point across
In a sentence form…
“DNS is the wholly-automated Internet version of a telephone phone book.”
While summary statements like that are usually written at the end of an article, I thought it very important to get the idea of the phone book planted in your brain that from the get-go.
It’s the core little secret that high-paid techno-wizards want to complicate so that they can scare you into paying them more money. Once you understand the analogy of DNS is like a phonebook for the Internet, the rest of this article will hopefully make a lot more sense.
By the way, DNS is just an easy way of saying “Domain Name Service“.
Ok, I’ll bite, how is DNS like a phone book?
Did you know that every time you connect to the Internet, the machine you are using — whether it’s an Apple, PC, iPad, netbook, notebook, or even Sony PS3 — is assigned a unique, one of a kind number to help identify it — and by extension, you?
That number, called an Internet Protocol address, or “IP number” for short. When you are on the internet, you are the only one on the entire planet with that number.
Just as a telephone number identifies your phone, that unique IP address identifies your computer to the world.
The only real differences are:
- Unlike a telephone number, your computer’s IP Address might change each time you connect to the Internet,
- Unlike a telephone number, you usually don’t even need to know what yours is.
- You don’t have to give out your ip number to anyone for them to be able to find you on the web
Just for the record, an IP Address is made up of a series of up to 12 digits, spaced out between three decimal points.
It might look something like this;
192.168.000.001
IP numbers are also usuallly shortened to eliminate the extra zeroes, like 192.168.0.1, but hopefully you get the idea.
What the Domain Name System does — in essence — is match up a domain name (such as ebay.com) to the address of the physical machine which is hosting that web site. On the Internet, there are literally tens of thousands of Domain Name Servers whose sole function it is to coordinate which machine has which domain names hosted on it. I won’t get into the nitty gritty of how this is all done, because then we’d be into overtime and someone would have to buy me a donut.
Suffice to say that out of those tens of thousands of servers which are pretty irrelevant to this little confusing rant, there are only a handful of core DNS servers, called Root nameservers at the heart of the Internet. This handful pretty much handles the entire Internet, which is really impressive if you consider how many computers, sites, people, and things to see that there are out there.
Getting back to the story…
In much the same way that you might call an operator, give her someone’s name and she give you that person’s telephone number in reply, the DNS system interacts with your computer to look up a site’s “number” without having to bother the nice lady.
It’s like this. Let’s say you were wanting to do a little bit of shopping for your niece’s birthday and heard they had a sale on sweaters at Wal-Mart;
- In your browser’s address window, you’d type in walmart.com
- Your browser goes out to the root DNS servers on the internet and asks for (then receives) the IP address of the computer which serves (or easier said, “puts”) walmart.com out on the Internet.
- Once your browser has that computer’s IP address, it opens up a direct connection to that address (like dialing the phone number) and says “hi, are you walmart.com?“
- The server on the other end — if everything’s worked out the way it should — responds, “Why yes, don’t be silly, of course I’m walmart.com. Here’s the page you’re looking for.”
- walmart.com’s Web site is displayed on your screen.
If it’s so simple, what can possibly go wrong?
Hmm. That is an interesting question. With tens of thousands of DNS servers out there, and redundant systems in place, you can never count out Murphy’s Law.
“Whatever can go wrong, will go wrong” - Murphy’s Law
95% of the time when you type in a site name and it won’t come up, it’s usually just that particular Web site’s server (or connection to the ‘net) is having trouble.
The other 5% could be anything from an idiot with a backhoe (a type of tractor that digs trenches) who cuts Internet cabling, to the server being too busy, to a mis-typed address on the keyboard. When you consider the millions of Web sites out there which operate 99.999% of the time, you might begin to understand how miraculous it is that any of the Internet ever works at all.
I just wish the Postal Service was this reliable — Emmett Brown (aka “Doc”), “Back to the Future”
More nuts, then the elderly man exits, stage right..
In the proverbial nutshell, that’s both what DNS is, and how DNS really works. The technical mumbo jumbo gets a little more tricky, but this isn’t an article for technoweenies. It’s hopefully for the average mom and pop out there who get confused when their favorite site, or e-mail doesn’t work.
Below are several other articles written by people hopefully smarter than me if you’re really interested.
Otherwise, if you ARE said technoweenie and you see a mistake I’ve made in trying to explain this stuff, PLEASE let me know by comment below and I’ll make sure to include your comment to try and help the helpless.
Wayne Hunt
segwayne.com
BTW, This article was written over the course of a weekend, in it’s entirety, on my Apple iPad.
I used the Nuance “dictation” app to write most of it by translated voice, then the WordPress App (iPhone version)
to edit and post the article. It wasn’t fun without a keyboard, but it was one of those things which
I felt NEEDED to be tried, at least once to prove a point. Sorry for all the grammar and
other mistakes I’m sure.
Related articles by Zemanta
- Symantec Enters DNS Provider Market With Norton DNS (ghacks.net)
- Speed up your Web access with namebench (ebiquity.umbc.edu)
- Tighter security controls for net (news.bbc.co.uk)
- OpenDNS FamilyShield Blocks 18+ Contents Automatically (ghacks.net)
- Mammatus: Use DNS NS failover to create HA Web Service. (mammatus.thimbl.net)
- DNSSEC: The Antidote To DNS Cache Poisoning And Other DNS Attacks (lockergnome.com)
- DNS Settings for routed subnets (edugeek.net)
- F5 and Infoblox Provide Customers with Complete DNS Security Solution (eon.businesswire.com)
- FamilyShield is a No-Setup Adult Content Blocker for Your Router [Content Filtering] (lifehacker.com)
- DNS Tunneling Part 1: Intro and Nameserver setup (h-i-r.net)
- Mac time and dns? (edugeek.net)
- IID Launches ActiveTrust DNS; Industry’s First DNS Security Solution for the Extended Enterprise (eon.businesswire.com)
- Afilias Extends Managed DNS Services with FlexDNS Platform and API (prweb.com)
- Leading Hosting Firm MaximumASP Relies on Infoblox for External DNS (eon.businesswire.com)
- UK Phone Numbers — How to Find UK Phone Numbers (mobiletechnology.suite101.com)
- cPanel Hosting – Domain Panel (affiliatestartingline.com)
- Internet authorities adopt new .org security (reuters.com)
loading...
Arrrrgh!!! The CSS of it all…!
Have you ever been through an experience that changed your world, but left you broken for the future?
For 15 years, I built, created, then ran a site for the now antiquated Commodore Amiga computer community by the name of Amiga.org.. Since 1995, it really was a focal point in my pathetic little world until I recently sold it to another community member.
Over those 15 years, I built and redesigned the site probably a dozen times, always keeping in mind that development of new browsers hasn’t really moved forward in at least 10 years. They’re still dealing with HTML 3.0 AT BEST. Meanwhile, the world around them has moved on to XHTML, CSS, RSS, XML, and about a hundred other technologies that the PC and Mac communities have long ago taken for granted.
Last year, we needed to move the site forward to vBulletin 3.8x, which afforded the community lots of new and nifty features, but at one big cost, and that was the need to embrace Cascading Style Sheets (CSS). CSS has been around ALMOST as long as Amiga.org, but as I said, 99% of the Amiga browsers out there were never updated to support it. The 1% that does support CSS, doesn’t run on 99% of the remaining so-called “Classic” Amiga computers.
For the first time in 15 years, even *I* had to step outside my comfort zone to start learning CSS (again) and how to write a site that wasn’t based on HTML 3.2…
All I can say is that in 1995 when I wrote the initial site with a text editor on Windows 95, life for Web developers was a LOT simpler.
Now, I’m trying to both learn how to write a custom theme for WordPress, as well as to adapt it to the Thesis theme framework which almost exclusively uses CSS, Javascript, and a whole host of “newfangled” crap that I’ve long-since forgotten. Never before have I felt like such an idiot as I do now, when I’m trying to go back and re-learn everything again from scratch.
I’d say “it’s worse than SharePoint” but pfft. Who would I be kidding?
All of this, btw, with very restricted network access and working from my macbook the rest of the time..
Fun… If anyone has any pointers, or wants to contribute free “idiots guides to doing stupid web shit that my 12 year old niece can do in her sleep” type books, please let me know..
loading...
100,000 Apps! 2 Billion downloads! Keep em coming…
I know I’m a bit late in relaying the good news, but Apple’s App store which carries games, applications, and other software tools for the iPhone and iPod Touch has now reached 100,000 apps and 2 billion downloads. That’s 2 Billion, yes. With a B! That’s a lot of software to review. Congrats and keep em coming guys!
Visit the App Store for a look around

loading...
Where WordPress hits the wall
Let’s be honest. if you want to blog without having to deal with the hassles of spammers, setup, updates, and configuring thousands of nibbly little details, then WordPress.com is perfect for you. I’ll be the first to admit that wherein WordPress is concerned, I’m absolutely no expert so this editorial is just my personal opinion.
What I do see however is that after going self-hosted with segwayne.com is major limitations in the way the common hosted version of wordpress (wordpress.com) is being marketed. Major missed opportunities. I certainly intend no complaint against a free-hosted, free blog engine. God bless ‘em for making it available. It’s great. Lots of features, statistics, all the right plugins built in and everything else. Best of all, hosting your blog on WordPress.com is FREE. My point is that I could easily see WordPress.com expanding their market (along with their income) 10 fold with a couple of simple changes.
So what am I babbling on about?
Put simply, I’m talking about their offerings which seem to consist of only “Blog only” themes.
WordPress.com offers about 75 or so themes for newbie bloggers to jump in and start expressing their inner demons. Most of them are actually very nice layouts and are perfectly suitable for the average newbie that doesn’t want to deviate from a stock layout.
That being said, I’m starting to figure out that WordPress (the package) is growing beyond simple blogs and into a full CMS engine. Every day I see people turning to WordPress to run commercial web sites which are more “CMS” than strictly “blog”. While I can’t claim to be perfect and less than whiny about my posts, Segwayne.com for example is evolving from the simple “whinery” aka blog that it was, into more of a self-published magazine style, thanks in large part to the self-hosted ability to install my own theme choices.
// None of the 75+ themes available at wordpress.com allow for anything more than straight blogging. //
The missed opportunity comes in where they limit their audience to personal bloggers only. Imagine if you can, if wordpress.com opened up their themes management and the ability to add/upload new themes. How many small (or even medium) businesses would jump on the boat to be able to host a commercial type site, even if the themes were in a bundle, say $25.00 (or even $49.95) per year for hosting, the theme (with theme options to personalize) and a domain name? I can’t help but think thousands — if not tens of thousands worldwide.
Again.. not an expert. Simply a geek with a stray thought, so I’m sure everyone reading this can and will take apart my opinion.
Have a great day and thanks for listening.
Wayne
loading...
Calling all Huntsville area Bloggers…
So… Out of a mild curiousity and with a little prodding from an old friend, I attended my first meeting/dinner of the Huntsville Beer and Blog group. They’re just getting rolling, with tonight being the fourth, perhaps fifth gathering, but I believe I’ve found a new and fun group to hang out with..
They meet on Tuesday nights about 5pm at the West End Grill (corner of Old Madison Pike and Rideout Road) to talk about “everything blog” — from how to build one, to how to get people to read it, to how to get paid for doing it….
Turns out to be a great group of people, very well-spoken, and a lot of fun to trade ideas with.
If you’re a blogger in the Huntsville Alabama (or surrounding) area, or you’ve ever even considered opening a blog to talk about stuff on the web, PLEASE consider joining us next week.
http://huntsville.beerandblog.com/
loading...



![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=8f9e9125-362c-4468-a45a-6f92f50a9067)
![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=88399ffa-a79a-8c06-b468-cce6a9cc2c32)
![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=cdd5e638-7aeb-4baf-96c1-f23bd1fdb508)
