1GETADDR(1) User Contributed Perl Documentation GETADDR(1)
2
3
4
6 getaddr - command-line test program for the val_gettaddrinfo() function
7
9 getaddr [options] <hostname⎪IPv4 address⎪IPv6 address>
10
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 val_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.
19 The trusted and validated status values are obtained using the
20 val_istrusted() and val_isvalidated() functions from libval(3).
21
23 -n, --novalidate
24 Do not perform validation.
25
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 -h, --help
33 Display the help and exit.
34
36 libval
37
39 Copyright 2005-2007 SPARTA, Inc. All rights reserved. See the COPYING
40 file included with the DNSSEC-Tools package for details.
41
43 Abhijit Hayatnagarkar, Suresh Krishnaswamy, Robert Story
44
46 val_getaddrinfo(3)
47
48 libval(3)
49
50 http://dnssec-tools.sourceforge.net
51
52
53
54perl v5.8.6 2007-09-10 GETADDR(1)