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

NAME()

     dnsquery --

SYNOPSIS()

     dnsquery [-n nameserver] [-t type] [-c class] [-r retry] [-p period] [-d]
     [-s] [-v] host

DESCRIPTION()

     dnsquery BIND.  .  nstest,nsquerynslookup.  , host nameserver .

OPTIONS()

     -n nameserver
                 .  Internet w.x.y.z .  (: /etc/resolv.conf .)

     -t type     .:
                       A
                       NS
                       CNAME
                       SOA
                       WKS
                       HINFO
                       MINFO
                       MX
                       RP
                       MG
                       AFSDB    DCEAFS
                       ANY

                 .(: ANY.)

     -c class    .  :
                       IN       Internet
                       HS       Hesiod
                       CHAOS    Chaos
                       ANY

                 .(: IN.)

     -r retry    .(: 4.)

     -p period   .(: RES_TIMEOUT.)

     -d          .  options RES_DEBUG .(:.)

     -s            .TCP, UDP.  options RES_USEVC .(:UDP.)

     -v           ``-s'' .

     host        ().

FILES()

     /etc/resolv.conf
     <arpa/nameser.h>    RR()
     <resolv.h>

DIAGNOSTICS()

     ,, dnsquery :
           Query failed (rc = 1): Unknown host

      h_errno .

SEE ALSO()

     nslookup(8), nstest(1), nsquery(1), named(8), resolver(5).

AUTHOR()

     Bryan Beecher

BUGS

      IN , IN .

     Dnsquery inet_addr() ``-n'' Internet., inet_addr()
     ()IP(1.2.3.4.5)segmentation() .

[]

     riser <boomer@ccidnet.com>

[]

     2001/7/13

Linuxman

     http://cmpp.linuxforum.net