Please Whitelist This Site?

I know everyone hates ads. But please understand that I am providing premium content for free that takes hundreds of hours of time to research and write. I don't want to go to a pay-only model like some sites, but when more and more people block ads, I end up working for free. And I have a family to support, just like you. :)

If you like The TCP/IP Guide, please consider the download version. It's priced very economically and you can read all of it in a convenient format without ads.

If you want to use this site for free, I'd be grateful if you could add the site to the whitelist for Adblock. To do so, just open the Adblock menu and select "Disable on tcpipguide.com". Or go to the Tools menu and select "Adblock Plus Preferences...". Then click "Add Filter..." at the bottom, and add this string: "@@||tcpipguide.com^$document". Then just click OK.

Thanks for your understanding!

Sincerely, Charles Kozierok
Author and Publisher, The TCP/IP Guide


NOTE: Using software to mass-download the site degrades the server and is prohibited.
If you want to read The TCP/IP Guide offline, please consider licensing it. Thank you.

The Book is Here... and Now On Sale!

Enjoy The TCP/IP Guide? Get the complete PDF!
The TCP/IP Guide

Custom Search







Table Of Contents  The TCP/IP Guide
 9  TCP/IP Application Layer Protocols, Services and Applications (OSI Layers 5, 6 and 7)
      9  TCP/IP Key Applications and Application Protocols
           9  TCP/IP Administration and Troubleshooting Utilities and Protocols

Previous Topic/Section
TCP/IP Address Resolution Protocol Utility (arp)
Previous Page
Pages in Current Topic/Section
123
4
5
Next Page
TCP/IP DNS Registry Database Lookup Utility (whois/nicname)
Next Topic/Section

TCP/IP DNS Name Resolution and Information Lookup Utilities (nslookup, host and dig)
(Page 4 of 5)

The host Utility

The first alternative to nslookup, host, is most often used for simple queries such as would normally be performed using nslookup’s non-interactive mode. It is invoked in the same way as non-interactive nslookup:

host <host> [<server>]

The output is also similar to that of non-interactive nslookup, but less verbose. An example is shown in Table 292.


Table 292: DNS Name Resolution Using the host Utility

%host www.pcguide.com
www.pcguide.com is an alias for pcguide.com.
pcguide.com has address 209.68.14.80


Even though host does not operate interactively, it includes a number of options that can allow an administrator to get the same information that would have been obtained using nslookup’s interactive mode. Some of the more common options are shown in Table 293.


Table 293: Typical host Utility Options and Parameters

Option / Parameters

Description

-d

Turn on debug mode.

-l

Provides a complete list of information for a domain; this is similar to the “ls” command in interactive nslookup. This may be used with the “-t” option to select only a particular type of resource record for the domain.

-r

Disable recursion in the request. When this is specified, only the server directly queried will return any information; it will not query other servers.

-t <querytype>

Specifies a query for a particular resource record type, allowing any type of DNS information to be retrieved.

-v

Use verbose mode for output (additional details are provided).

-w

Wait as long as necessary for a response (no timeout).


Previous Topic/Section
TCP/IP Address Resolution Protocol Utility (arp)
Previous Page
Pages in Current Topic/Section
123
4
5
Next Page
TCP/IP DNS Registry Database Lookup Utility (whois/nicname)
Next Topic/Section

If you find The TCP/IP Guide useful, please consider making a small Paypal donation to help the site, using one of the buttons below. You can also donate a custom amount using the far right button (not less than $1 please, or PayPal gets most/all of your money!) In lieu of a larger donation, you may wish to consider purchasing a download license of The TCP/IP Guide. Thanks for your support!
Donate $2
Donate $5
Donate $10
Donate $20
Donate $30
Donate: $



Home - Table Of Contents - Contact Us

The TCP/IP Guide (http://www.TCPIPGuide.com)
Version 3.0 - Version Date: September 20, 2005

© Copyright 2001-2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.