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!

Get The TCP/IP Guide for your own computer.
The TCP/IP Guide

Google
Web TCP/IP Guide






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.