1DT-GETADDR(1) User Commands DT-GETADDR(1)
2
3
4
6 dt-getaddr - command-line test program for the val_getaddrinfo()
7 function
8
10 dt-getaddr [options] <hostname|IPv4 address|IPv6 address>
11
13 This utility is a command-line wrapper around the val_getaddrinfo()
14 function. It invokes the val_getaddrinfo() operation for the given
15 command-line arguments and displays the return code from the function
16 and the contents of the addrinfo structure.
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. If
20 no validation is performed, or the result is neither trusted nor
21 validated, a value of 0 is returned. The trusted and validated status
22 values are obtained using the val_istrusted() and val_isvalidated()
23 functions from libval(3).
24
26 -c, --canonname
27 Use the AI_CANONNAME flag in val_getaddrinfo().
28
29 -s, --service=PORT|SERVICE
30 Use the specified transport-layer port or service name.
31
32 -o, --output=<debug-level>:<dest-type>[:<dest-options>]
33 <debug-level> is 1-7, corresponding to syslog levels ALERT-DEBUG
34 <dest-type> is one of file, net, syslog, stderr, stdout
35 <dest-options> depends on <dest-type>
36 file:<file-name> (opened in append mode)
37 net[:<host-name>:<host-port>] (127.0.0.1:1053
38 syslog[:facility] (0-23 (default 1 USER))
39
40 -h, --help
41 Display the help and exit.
42
44 libval
45
47 Copyright 2005-2013 SPARTA, Inc. All rights reserved. See the COPYING
48 file included with the DNSSEC-Tools package for details.
49
51 Abhijit Hayatnagarkar, Suresh Krishnaswamy, Robert Story
52
54 val_getaddrinfo(3)
55
56 libval(3)
57
58 http://www.dnssec-tools.org
59
60
61
62perl v5.14.3 2013-02-27 DT-GETADDR(1)