List Categories | List All Articles | List Articles By Title
Fun with DNS: Three Useful Commands
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.
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.
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
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:
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 email@example.com. Thank you.
Provide A Good Home For Your Website
Selecting a web hosting company is like sending one of your children off to college. You may have complete confidence in your son or daughter's abilities but unless they are placed in the proper environment they will not have the opportunity to thrive.
There is story of David and Goliath where Goliath would come and challenge everybody - "is there anyone amongst you who would dare to fight against me?" Who would dare to fight against him? He was a giant, there was nothing one could do to humble him.David saw the situation in a different manner.
Web Site Design and Hosting
If you're looking for a professionally designed web site at cheap, bargain basement prices, you may find it as close as your web hosting provider. Many companies that host web sites also offer web design services to their customers at low prices.
Virtual Web Hosting - What Is Virtual Web Hosting?
If your web site has outgrown its shared hosting solution, it may be time to move it to virtual hosting, which is often seen as a low cost alternative to getting your own dedicated server. A virtual server gives you most of the advantages of a dedicated server at a fraction of the price.
Effectiveness of Web Hosting Directories (WHDs)
John is very happy today, for the first time in his life he has created his very own website. Now he is looking for a web host so that he can put his identity on the net.
Unlimited Wealth Creation Through Reseller Hosting
Web hosting can be an exciting business start up for aspiring entrepreneurs. All you have to do to set up your business is become a hosting reseller, i.
Buyer Beware: Web Hosting, Registration, and Site Building All in One Package Nightmares
Starting out in any type of online marketing or Internet business can be confusing and overwhelming. There are so many different aspects of a start-up: domain name registration and purchase, Web site host purchasing, and of course, the "building" of the Web site itself.
Dedicated Web Hosting : The Executive Summary
What is Dedicated Web Hosting? Dedicated web hosting can alleviate the need to share hardware or software with any other sites or web pages. Webmasters are given the autonomy to decide on applications that are installed on the server to create specific configurations for their web needs, and have the ability to provide a secure environment for their site.
Top 6 Ways to Promote Your Web Hosting Business Part 2
Here are the following three methods that can help you improve your web hosting business. These three are targeted towards the service you provide:1.
How to Move Your Domain Without Any Downtime
With a little advanced planning, moving your domain to a new hosting company is a painless process. The approach outlined here will allow you to move any domain without downtime.
How to Achieve # 1 on Free Hosting
A domain name and paid hosting are considered essential for an internet marketer.Majority of the websites that are successful have their own domain name and a paid host.
Webhosting for Blogs - Free or Paid Service
Blogging is an abbreviation of "web-logging". The simplest definition of a blog is that it is an online log that is organized in reverse chronological order.
Uptime Guarantee - Good Idea?
When looking for a Web Host there are lots of factors that come into play. Usually the deciding factors are price and bandwidth.
Shared Web Hosting Service Explained!
The next concern for you after designing and developing web pages is to get your web site hosted on the Internet. But with so many web hosting companies offering various types of web hosting packages - shared web hosting, dedicated web hosting, managed web hosting, which type of hosting should you choose?As a general rule, it is a good idea to go for shared web hosting if you are a small business owner and cost is your major concern.
In Search of Webhosting: First Understand the Industry
In search of a webhosting company for personal or small business purposes? We advise you to take a look at this article to understand the hosting industry and study its dynamics to know what to look for before you make your choice.First, a brief introduction to the webhosting chain: the end consumer is served by about 3 upstream providers: the webhosting provider that they have direct contact with, the webhost's upstream company who maintains the servers and sells space to webhosts, and above that, the datacenter that provides the connection and houses the servers.
Web Hosting: Shared or Dedicated - Which Should You Choose?
Before you begin your search for a web host you should first determine whether you need shared web hosting or dedicated web hosting.A shared web hosting account is an account on a web server that hosts other shared accounts.
The Big Secret of Fabulous and Mediocre Web Site Hosting Companies
Most web site hosting services like the one you're probably using right now, provide you with space on which you can host your web site. These mediocre web site hosting companies will even help you set up your own email addresses and provide you with the ability to run your own scripts and programs.
10 Helpful Tips to Follow When Switching Web Hosts
You've made your decision to move from your website from your current web host to a new web host. The following tips will help you make the transition easier and make you aware of some potential pitfalls to avoid.
How To Choose A Reliable Web Host For Your Website
A client of mine paid for a solo advert to promote his website in the newsletter I publish at e-bizministry about two months ago. As I was about to send his advert to my list, he called me up on phone and told me not to send it yet.
Cheap Internet Hosting - Get The Most For Your Money With a Cheap Web Hosting Package
With so many web hosting companies competing for your web hosting dollar, the companies have had to stretch their imagination to come up with ways to convince you that their company is giving you the most for your money, and consequently, the most affordable web hosting package for you. The most typical way they've done this is to throw in a bunch of bells and whistles to create full 'packages' so that you get everything you need - and a lot you don't - for one low, affordable price.
home | site map
All articles are copyright to their owners.
Note: this website lists articles, We do not Write Articles !