host man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

host(1)								       host(1)

       host - DNS lookup utility

       class] ndots] number] type] wait] name [server]

       is a simple utility for performing DNS lookups.	It is normally used to
       convert names to IP addresses and vice versa.  With no options or oper‐
       ands, prints an annotated usage summary.

       Use only the IPv4 query transport.

       Use only the IPv6 query transport.

       Equivalent to using

       Attempt to display the
		 records  for zone name from all the listed authoritative name
		 servers for that zone.	 The list of name servers  is  defined
		 by the records that are found for the zone.

       Make a DNS query of class
		 class.	  This	can be used to look up class resource records.
		 The values for class are:

		 The Internet class (default).

		 The MIT Chaosnet class.

		 The MIT Athena Hesiod class.

		 The class values are case-insensitive.

       Generate verbose output.
		 Now equivalent to the option.	is provided for backwards com‐
		 patibility.   In  previous versions, it switched on debugging

       Use the IP6.INT domain, as defined in RFC 1886,
		 to perform reverse lookups of IPv6 addresses.	The default is
		 to use IP6.ARPA.

       Select list mode.
		 performs  a  zone transfer for zone name.  Transfer the zone,
		 printing out the and address records If is combined with  all
		 records will be printed.

       Set the number of dots that have to be in
		 name  for it to be considered absolute.  The default value is
		 defined using the statement in	 or  is	 if  no	 statement  is
		 present.   Names  with fewer dots are interpreted as relative
		 names and will be searched for in the domains listed  in  the
		 or directive in

       Set the number of UDP retries for a lookup.
		 number indicates how many times will repeat a query that does
		 not get answered.  The default number of retries  is  1.   If
		 number	 is  negative or zero, the number of retries is set to

       Make nonrecursive queries.
		 Setting this option clears the RD (recursion desired) bit  in
		 the query which makes.	 This should mean that the name server
		 receiving the query will not attempt to resolve the name  op‐

		 This option enables to mimic the behavior of a name server by
		 making nonrecursive queries and expecting to receive  answers
		 to  those  queries  that  are usually referrals to other name

       Use a TCP connection when querying the name server.
		 TCP is automatically selected for queries  that  require  it,
		 such  as  zone	 transfer  requests.  By default uses UDP when
		 making queries.

       Select the query type.
		 type can be any recognized query type: and so on.  For poten‐
		 tial  values,	see the command in nslookup(1) and the discus‐
		 sion in named.conf(4).

		 The type values are case-insensitive.

		 When the option is omitted, automatically selects  an	appro‐
		 priate	 query type.  By default, it looks for records, but if
		 the option is given, queries are made for  records.   If  the
		 operand is an IPv4 or IPv6 address, queries for records.

		 For  a query type of you can specify the starting serial num‐
		 ber by appending an equals  sign  followed  by	 the  starting
		 serial number (for example,

       Generate verbose output.

       Set the time to wait for a reply to
		 wait  seconds.	  If wait is less than 1, the wait interval is
		 set to 1.

       Effectively wait forever for a reply.
		 The time to wait for a response is set to the number of  sec‐
		 onds  given  by  the  hardware's maximum value for an integer

       name	 The domain name that is to be looked up.  It can also	be  an
		 IPv4 or IPv6 address, in which case will, by default, perform
		 a reverse lookup for that address.

       server	 The name or IP address of the name server that should	query.
		 The default is the server or servers listed in

       Using a host name:

       Using an IP address:

       was developed by the Internet Systems Consortium (ISC).

       dig(1), nslookup(1), named(1M), named.conf(4), resolver(4).

       Requests for Comments (RFC): 1886, available online at

       available online at

       available from the Internet Systems Consortium at

				   BIND 9.3			       host(1)

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net