Web Hosting

Web Hosting - Articles & Information To Help You With Web Hosting

Fun With Dns: Three Useful Commands


Web Hosting

The DNS is a distributed, hierarchical database where authority flows from the top (or root) of the hierarchy downward.

When thinking of the structure of the DNS, imagine an inverted tree. Each branch of the tree is within a zone of authority; however, multiple branches of the tree can be within a single zone.

The software (Bind being the most common) that stores domain name information is called a domain name server. A single name server can be authoritative for multiple zones. All zones have a primary master and a secondary master name server that provides authoritative responses for their zones.

If you query a name server not authoritative for a particular zone, that name server will most likely have up-to-date information. This is because zone information propagates throughout the Internet at regular intervals, and name servers cache zone information for which they are not authoritative.

DNS Commands

There are three crucial commands that can put all the DNS information you need at your fingertips. The way to use this article is to try each of the commands listed on a domain name, so you can see what the output looks like. Learn by doing!

Zone file database records divide DNS information into three primary types: NS (Name Server) records, MX (Mail Exchange) records, and A (Address) records. NS records indicate the name servers. MX records indicate the hosts that handle e-mail delivery; the priority (pri) number indicates the order in which mail servers are used, with the lowest number receiving the highest priority. The A (Address) records map hostnames to IP addresses, the real names of machines.

host

This is the simplest of the DNS commands. It is a quick way to determine the IP address of a hostname:

: host www.your-domain-name.com

The -a option will return all of the DNS information in verbose format.

: host -a www.your-domain-name.com

Now that you know the IP address for www.your-domain-name.com, try a reverse lookup.

: host IP-ADDRESS

dig (domain information groper)

This command gathers and returns DNS information in a format the name server can use directly. You will find it easy to query specific name servers with dig.

You can quickly determine the Name servers of your host or any other host:

: dig ns your-host.com

Then you check your (or another) website against the host's name servers:

: dig www.your-domain-name.com @ns.your-host.com

Dig can provide output that is in the same format as the zone file itself. Here is how to get the whole zone file:

: dig any your-domain-name.com

Here are the most useful dig query types: dig any (gathers all DNS information), dig ns (gathers name server information), dig mx (gathers mail exchanger information) and dig a (gathers network address information).

The dig command can also do reverse lookups with output formatted for the zone file:

: dig -x IP-Address

nslookup

You can use this tool as a single line command, or you can use it interactively, which distinguishes it from the other DNS commands. Once you have started nslookup, type set all to list the default options. As with dig you can choose the server (name server) you want to query, and you can decide the type of DNS information on which to focus.

Just as you can issue commands to nslookup interactively, you can also change the initial defaults by starting a .nslookuprc file. The format of the .nslookup is one command per line:

set type=NS
set domain=srvns.your-host.com
set timeout=10

Conclusion

These three commands can provide you with most of the information you need about your domain names. They are powerful tools, and this article should provide you enough information to get started or offer a quick refresher if you already use these commands.

About the Author:

Dan Forootan founded EZ Publishing, Inc. in 1998. EZ Publishing's Small Business Web Hosting provides the essential tools for using the Web as a marketing tool. The package includes web hosting, the StreamSend permission-based email marketing solution. Please email questions or comments about this article to articles@ezpublishing.com. Thank you.







Created & Maintained by Empower! CMS Web Sites

Host2Sell Web Hosting   |   Emarketing Workshops   |   Site SEO Review   |   FREE Newsletter

South Africa's Top Sites




| 1 | 2 | 3 | 4 | 5 | 6 | 7 |











What To Look For In A Web Host
The first questions you have to ask yourself are: how much space and bandwidth do I need; do I want one site or several sites; how much will I have to spend; am I going to use an SQL database; how much uptime does the web host offer; does this site host spammy adult sites; what extras are offered; are there script limitations; do they provide a control panel; and if my site gets too big, what is the next level and how much does it cost?BandwidthLet's take bandwidth for instance. If you are starting a brand new site and don't have a lot of other sites to link to it, which, by the way, is becoming increasingly less efficient due to changing search engine rules, it may take over a year to build any real traffic to even worry about this point. But, with bandwidth being a lot more reasonable la...(related: Web Hosting)


Unlimited Bandwidth In Web Hosting
Bandwidth explained:Bandwidth is the amount of data transfer that you are allowed to have for a hosting package i.e. Let's say you have a web page that is 48KB in size, now each time a user opens your si...(related: Web Hosting)


Criteria Of Choosing An Ideal Web Hosting Company
Before we talk about what it takes to be a cheap and good quality web host, let's get to the fundamental first. What is a Web Host?A web host is a service provider that places your web site on a computer which is connected to the internet. The term for this 'computer' is called a server. A web hosting provider will typically have a fast connection to the Internet and they may host thousands of web sites on many servers. The web host essentially rents out space to you so that you can get your website up on the world wide web. With a well-managed web host, you can free yourself from worrying the up-keep of complicated server technology and proper technical maintenance. That's the whole purpose of the web hosting companies. You should leave the technical work to web hosting professional while you focus on yo...(related: Web Hosting)


Dont Get Fooled By The Web Hosting Wolves In Sheeps Clothing!
Are you looking for web hosting? If you want to set up a personal website, or a modest commercial one, you are probably in the...(related: Web Hosting)


How Can I Get The Web Host Services And Support I Need, Hassle-free?
Choosing a host or switching hosts can be an agonizing experience. There are so many choices and price structures.You see the service level guarantees you want, but there is no way to ensure the Host's promised service level will be kept. Sadly, past experience tells you all too often the service promises are unfulfilled.Experience tells you to steer clear of so called "cheap" hosts, just to save $4 a month but risk huge headaches when your site goes down and no one answers the phone (...(related: Web Hosting)


Why Dedicated Hosting?
If you're reading this article, you might be interested in getting a dedicated server, or simply learning more about dedicated hosting services.First of all, please note, that a dedicated server is rather expensive service, and you shouldn't waste your money if you don't plan to use it in full measure.But if you really have a serious website, and want to run a successful business - you cannot do it without a dedicated server.Of course it's just mere words, so let's enumerate the facts!Freedom and securityDedicated server will give you a freedom. You will not need to share it with other websites. It will also give you additional 3rd party security for your site and emails. A dedicated server will allow you deep access to your server to config...(related: Web Hosting)


Great Web Hosting - What To Look For!
Web hosting can best be described as a modern-daymarriage: none of this till death do us part stuff, it'smore like I'll stick around as long as your uptime is 100%,you answer my frantic queries instantly, and you charge meless than a decent latte at Starbucks. What follows is afew tips to help make the relationship less rocky andpossibly prosperous!First of all, we all need to take a little responsibilityand at least figure out what we think we need from a webhost up front. This isn't always as easy as you mightimagine. You don't always know your exact needs ahead oftime, and sometimes these things are difficult to forsee.Your site may become hugely popular, requiring morebandwidth or storage than previously thought. You maydecide to have data feeds hosted...(related: Web Hosting)


What Some Web Hosts Dont Want You To Know
Many start-up web hosts in their desperate attempt to get hosting business from you have plenty to hide. Here are some of the things they will never tell you. For some start-up web hosts, service does not exist. Low cost or budget web hosting services are the ones most likely to fall under this category. Some will not provide any information about their service while others will proudly announce that they provide 24/7 service. This is quite often not true.Many of the low-cost we...(related: Web Hosting)




Google




7 Key Points To Consider When Choosing A Web Host
With literally thousands of web hosting companies in the industry all vieing for your business, carefully consider these key points to ensure you make the most well informed decision possible.1. Server SpaceFirst, think about how much space your site will take up on a server. Unless you are planning on running a software repository or an image gallery, the files that make up your website will probably only use between 1 and 5 megabytes of disk space. Many companies will offer several hundreds of megabytes of webspace for a very reasonable price in attempt to out perform their competitors, but ask yourself "Do I really need that much space?". Though it's true that you should allow your site "room to grow", don't op...(related: Web Hosting)

Monitor Your Web Site For Downtime
For those in the Internet business the availability of their web site is a major concern. The cost of downtime for web businesses can amount to $10,000 an hour. And this is without counting the losses caused by missed opportunities and lost sales. Losses in image and credibility these businesses suffer because eventual downtime is even harder to quantify.Many of today's web hosting providers offer 99% uptime for their web servers. If you have already chosen one or if you are planning to use one with such a high uptime should you be concerned on the whole matter anyway?Let's see how much 99% uptime means. For a 30-day month you have a total of 720 hours. 99% of this is 712.8 hours. Are you comforta...(related: Web Hosting)

A Simple Guide To Web Hosting
Personal Computers, Servers Or ISP?You need a server to host your site so that it can be viewed over the internet. This server can either be an Internet Service Provider or of your own. Most websites are hosted by an Internet Service Provider because they can provide powerful server hardware, high speed connections and reliable server support.Most providers have very fast connections to the Internet such as a full T3 fiber-optic (45 Megabytes per second) connections which is about 1000 high speed (56 Kilobytes per second) modems combined.For those who are looking to set up their own servers and host their own ...(related: Web Hosting)

site-map - Copyright © 2006 Empower! Web Design | All Rights Reserved. | Web Hosting