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

NAME

6       getname - command-line test program for the val_getnameinfo() function
7

SYNOPSIS

9          getname [options] address
10

DESCRIPTION

12       This utility is a command-line wrapper around the val_getnameinfo()
13       function.  It invokes the val_getnameinfo() function with the given
14       command-line arguments and displays the returned host and service
15       information for the given node name, with a validation status value.
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 program returns 0 if no validation was performed or if the result
20       was neither trusted nor validated.  The trusted and validated status
21       values are obtained using the val_istrusted() and val_isvalidated()
22       functions from libval(3).
23

OPTIONS

25       -p, --port
26           Use the supplied port. If a port is specified, service information
27           is not looked up.
28
29       -F  Use the NI_NOFQDN flag.
30
31       -H  Use the NI_NUMERICHOST flag.
32
33       -N  Use the NI_NAMEREQD flag.
34
35       -S  Use the NI_NUMERICSERV flag.
36
37       -D  Use the NI_DGRAM flag.
38
39       -o, --output=<debug-level>:<dest-type>[:<dest-options>]
40           <debug-level> is 1-7, corresponding to syslog levels ALERT-DEBUG
41           <dest-type> is one of file, net, syslog, stderr, stdout
42           <dest-options> depends on <dest-type>
43               file:<file-name>   (opened in append mode)
44               net[:<host-name>:<host-port>] (127.0.0.1:1053
45               syslog[:facility] (0-23 (default 1 USER))
46
47       -h, --help
48           Display the help and exit.
49

PRE-REQUISITES

51       libval
52
54       Copyright 2005-2011 SPARTA, Inc.  All rights reserved.  See the COPYING
55       file included with the DNSSEC-Tools package for details.
56

AUTHORS

58       Abhijit Hayatnagarkar, Suresh Krishnaswamy, Robert Story, Michael Baer
59

SEE ALSO

61       val_getnameinfo(3)
62
63       libval(3)
64
65       http://dnssec-tools.sourceforge.net
66
67
68
69perl v5.8.9                       2011-06-28                        GETNAME(1)
Impressum