OS Manuals

/usr/bin/dnsget

DNS Resolver Library

From udns 0.7-r0 (os), captured 2026-11-05 by running dnsget -help (exit 0). permalink

dnsget: simple DNS query tool (using udns version 0.7)
Usage: dnsget [options] domain-name...
where options are:
 -h - print this help and exit
 -v - be more verbose
 -q - be less verbose
 -t type - set query type (A, AAAA, PTR etc)
 -c class - set query class (IN (default), CH, HS, *)
 -a - equivalent to -t ANY -v
 -n ns - use given nameserver(s) instead of default
  (may be specified multiple times)
 -o opt,opt,... (comma- or space-separated list,
                 may be specified more than once):
  set resovler options (the same as setting $RES_OPTIONS):
   timeout:sec  - initial query timeout
   attempts:num - number of attempt to resovle a query
   ndots:num    - if name has more than num dots, lookup it before search
   port:num     - port number for queries instead of default 53
   udpbuf:num   - size of UDP buffer (use EDNS0 if >512)
  or query flags:
   aa,nord,dnssec,do,cd - set query flag (auth-only, no recursion,
     enable DNSSEC (DNSSEC Ok), check disabled)
Options (10)
OptionDescriptionSource
-vproduce more detailed output.man
-qthe opposite for -v -- produce less detailed output.man
-t typerequest record(s) of the given type type.man
-c classrequest DNS record(s) of the given class class.man
-a(compatibility option).man
-C(planned)man
-x(planned)man
-o opt(may be specified several times).man
-n nameserverUse the given nameserver(s) (may be specified more than once) instead of the default.man
-hprint short help and exit.man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.