P2PU: Webmaking 101 – Attack the DNS

by | Feb 7, 2012 | Web Developer

DNS can be quite complicated if you over think it and I’ve been guilty of this, myself.

PROMISE: When it comes to DNS, keeping things simple, makes it easier to understand.

For beginners, or those who have no idea about internet technology, its easiest to think of a DNS as a directory or telephone book. The directory (telephone book) translates the name of a person or business into an address/phone number, right?

Telephone Book

This is exactly what DNS does for the internet. DNS (Domain Name System) translates the name of a computer (or other network equipment), into addresses, known as IP addresses.

Take a look at the picture below. Click on it to open a larger version in a new tab/window.

domain name system

domain name system

When I type “host bamajr.com” into my linux terminal screen as so:

[sourcecode language=”bash”]bamajr@9H38PJ1:~$ host bamajr.com[/sourcecode]

…and press the enter key, I get the following output:

[sourcecode language=”bash”]bamajr.com has address 173.165.231.54[/sourcecode]

…along with some other information.

In this example, typing “host” tells my computer I want to reference a DNS (or directory). The “bamajr.com” following “host” signifies I’m looking for the name “bamajr.com” in the DNS (or directory). When I press enter, a DNS finds the information I asked for and presents me with the information available for the name (bamajr.com) I requested. In this case, “173.165.231.54” is the IP address (or address) on record.

See, this stuff isn’t so difficult, right?

I promised keeping things simple, would make it easier to understand and I hope I’ve been able to help you in your understanding of DNS, by keeping things simple for you.


This post represents the required post for P2PU: Webmaking 101 – Attack the DNS. I used my own knowledge of DNS and Wikipedia to help with this article.

If you are interested in any of my prior posts in the P2PU: Webmaking 101 series, you can see them below:

  1. P2PU: Webmaking 101
  2. P2PU: Webmaking 101 – Writing HTML by Hand
  3. P2PU: Webmaking 101 – Choose Your Weapon
  4. P2PU: Webmaking 101 – HTML Hunting in the World Around You

Oh, and if you have the time, I have a poll running at the bottom of the

  • P2PU: Webmaking 101 – Choose Your Weapon
  • post. Take some time to cast your vote. If you don’t see your favorite text editor listed, just add it. I think those who are watching this poll would find it much more useful if the actual editor was mentioned if you choose to vote for “other.”

    Logo with image

    About the Author:

    WebDevRobert

    Innovative Technology Professional, working on IT/OT Convergence & Security, in the foundry industry.

    Website Designer/Developer since the mid 1990’s.

    Apple, Linux and Network Administrator since the late 1990’s.

    Background includes several years of IT/OT and IIoT Administration, Communications Infrastructure Design and Project Management.

    Currently the VP of Technology for Oil City Iron Works, Inc., in Corsicana, TX.

    Subscribe for Updates:

    This field is for validation purposes and should be left unchanged.
    This field is hidden when viewing the form

    Next Steps: Sync an Email Add-On

    To get the most out of your form, we suggest that you sync this form with an email add-on. To learn more about your email add-on options, visit the following page (https://www.gravityforms.com/the-8-best-email-plugins-for-wordpress-in-2020/). Important: Delete this tip before you publish the form.
    Name(Required)
    Email(Required)