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

NAME

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

SYNOPSIS

9          getquery [options] name
10

DESCRIPTION

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

OPTIONS

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

PRE-REQUISITES

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

AUTHORS

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

SEE ALSO

50       val_res_query(3)
51
52       libval(3)
53
54       http://dnssec-tools.sourceforge.net
55
56
57
58perl v5.8.9                       2011-06-28                       GETQUERY(1)
Impressum