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

NAME

6       getaddr - command-line test program for the val_getaddrinfo() function
7

SYNOPSIS

9           getaddr [options] <hostname|IPv4 address|IPv6 address>
10

DESCRIPTION

12       This utility is a command-line wrapper around the val_getaddrinfo()
13       function.  It invokes the val_getaddrinfo() operation for the given
14       command-line arguments and displays the return code from the function
15       and the contents of the addrinfo structure.
16
17       The exit status for this program is 1 if the answer received is
18       trusted, 2 if the answer received is validated, and -1 for an error. If
19       no validation is performed, or the result is neither trusted nor
20       validated, a value of 0 is returned. The trusted and validated status
21       values are obtained using the val_istrusted() and val_isvalidated()
22       functions from libval(3).
23

OPTIONS

25       -c, --canonname
26           Use the AI_CANONNAME flag in val_getaddrinfo().
27
28       -s, --service=PORT|SERVICE
29           Use the specified transport-layer port or service name.
30
31       -o, --output=<debug-level>:<dest-type>[:<dest-options>]
32           <debug-level> is 1-7, corresponding to syslog levels ALERT-DEBUG
33           <dest-type> is one of file, net, syslog, stderr, stdout
34           <dest-options> depends on <dest-type>
35               file:<file-name>   (opened in append mode)
36               net[:<host-name>:<host-port>] (127.0.0.1:1053
37               syslog[:facility] (0-23 (default 1 USER))
38
39       -h, --help
40           Display the help and exit.
41

PRE-REQUISITES

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

AUTHORS

50       Abhijit Hayatnagarkar, Suresh Krishnaswamy, Robert Story
51

SEE ALSO

53       val_getaddrinfo(3)
54
55       libval(3)
56
57       http://dnssec-tools.sourceforge.net
58
59
60
61perl v5.12.4                      2011-06-30                        GETADDR(1)
Impressum