Provided by: manpages-zh_1.5.2-1_all bug

NAME ()

       host -

SYNOPSIS ()

       host  [ -l ] [ -v ] [ -w ] [ -r ] [ -d ] [ -t querytype ] [ -a ] host [
       server ]

DESCRIPTION ()

       Host  Internet   .   . , host      Internet   .  -t -a ,          .

         ,  .  ,   ,   .    ,  128.6.4.194.     ,  topaz.rutgers.edu.    , . ,
       Rutgers

       host topaz

            "topaz.rutgers.edu".    ,     ( "topaz").        .  hostname(1)  ,
       .  (   . )

           .    , "  (inverse query) " ,     ,    .

          .      .  ,    ().

         ,     .   :

       % host sun4
       sun4.rutgers.edu is a nickname for ATHOS.RUTGERS.EDU
       ATHOS.RUTGERS.EDU has address 128.6.5.46
       ATHOS.RUTGERS.EDU has address 128.6.4.4
       ATHOS.RUTGERS.EDU mail is handled by ARAMIS.RUTGERS.EDU

          " host sun4 "   " sun4.rutgers.edu "    .    "  ATHOS.RUTGERS.EDU  "
       .      ,  host    .   ATHOS.RUTGERS.EDU   , ARAMIS.RUTGERS.EDU .      ,
       .    ,         .     ,     ; :

       Li XXX mail is handled by XXX

       ,         .
       Li mail is handled by ,
         ,     Internet  ,   . Usenet, Bitnet     .

             .      .

       -w      host   . ,    .

       -v      ""  ,   , named(8)  .   ,       ,      .    -v  ,   "a",  "mx",
              "cname"     "has  address", "mail is handled by"  "is a nickname
              for",   TTL .

       -r       .         .      .

       -d      .  .

       -t querytype
               querytype   .  named(8)    .  : a , ns , md , mf , cname ,  soa
              , mb , mg , mr , null , wks , ptr , hinfo , minfo , mx , uinfo ,
              uid , gid , unspec .  ,  ( any * )    () .   .  a , mx ,   -v  ,
              a .  -t host   .  -l   .

       -a      ; -v -t any

       -l      ; :

              host -l rutgers.edu

                 rutgers.edu    .

              -t     .   ,  PTR  NS .

       host -l -v -t any rutgers.edu

           rutgers.edu   (zone) .  (   , SOA   .)

       : -l    ,    .    .

       ,         ,  host   .  /etc/resolv.conf ,         .  LOCALDOMAIN   .  ,
       .    ,  ,   ,  ,   .  HOSTALIASES  .

       HOSTALIASES
              , (,) .

       /etc/resolv.conf

       named(8), resolver(5)

BUGS

            ,     .       ,      ,    .

       -l        .    ,      . ,   foo.edu ,

       host -t ns foo.edu

        foo.edu   ,

       host -l foo.edu xxx

        xxx ,   .

[]

        <xuming@users.sourceforge.net>

[]

       2003/05/13

Linuxman

       http://cmpp.linuxforum.net