1DT-GETQUERY(1)                   User Commands                  DT-GETQUERY(1)
2
3
4

NAME

6       dt-getquery - command-line test program for the val_res_query()
7       function
8

SYNOPSIS

10          dt-getquery [options] name
11

DESCRIPTION

13       This utility is a command-line wrapper around the val_res_query()
14       function.  It invokes the val_res_query() function with the given
15       command-line arguments and displays the returned data as a DNS-style
16       response.  It also displays the validation status value for the records
17       returned for the query.
18
19       The exit status for this program is 1 if the answer received is
20       trusted, 2 if the answer received is validated, and -1 for an error.
21       The program returns 0 if the result was neither trusted nor validated.
22       The trusted and validated status values are obtained using the
23       val_istrusted() and val_isvalidated() functions from libval(3).
24

OPTIONS

26       -t <type>
27           Perform the query for the given DNS record type
28
29       -o, --output=<debug-level>:<dest-type>[:<dest-options>]
30           <debug-level> is 1-7, corresponding to syslog levels ALERT-DEBUG
31           <dest-type> is one of file, net, syslog, stderr, stdout
32           <dest-options> depends on <dest-type>
33               file:<file-name>   (opened in append mode)
34               net[:<host-name>:<host-port>] (127.0.0.1:1053
35               syslog[:facility] (0-23 (default 1 USER))
36
37       -h, --help
38           Display the help and exit.
39

PRE-REQUISITES

41       libval
42
44       Copyright 2005-2013 SPARTA, Inc.  All rights reserved.  See the COPYING
45       file included with the DNSSEC-Tools package for details.
46

AUTHORS

48       Abhijit Hayatnagarkar, Suresh Krishnaswamy, Robert Story, Michael Baer
49

SEE ALSO

51       val_res_query(3)
52
53       libval(3)
54
55       http://www.dnssec-tools.org
56
57
58
59perl v5.14.3                      2013-02-27                    DT-GETQUERY(1)
Impressum