1DT-GETNAME(1) User Commands DT-GETNAME(1)
2
3
4
6 dt-getname - command-line test program for the val_getnameinfo()
7 function
8
10 dt-getname [options] address
11
13 This utility is a command-line wrapper around the val_getnameinfo()
14 function. It invokes the val_getnameinfo() function with the given
15 command-line arguments and displays the returned host and service
16 information for the given node name, with a validation status value.
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 no validation was performed or if the result
21 was neither trusted nor validated. The trusted and validated status
22 values are obtained using the val_istrusted() and val_isvalidated()
23 functions from libval(3).
24
26 -p, --port
27 Use the supplied port. If a port is specified, service information
28 is not looked up.
29
30 -F Use the NI_NOFQDN flag.
31
32 -H Use the NI_NUMERICHOST flag.
33
34 -N Use the NI_NAMEREQD flag.
35
36 -S Use the NI_NUMERICSERV flag.
37
38 -D Use the NI_DGRAM flag.
39
40 -o, --output=<debug-level>:<dest-type>[:<dest-options>]
41 <debug-level> is 1-7, corresponding to syslog levels ALERT-DEBUG
42 <dest-type> is one of file, net, syslog, stderr, stdout
43 <dest-options> depends on <dest-type>
44 file:<file-name> (opened in append mode)
45 net[:<host-name>:<host-port>] (127.0.0.1:1053
46 syslog[:facility] (0-23 (default 1 USER))
47
48 -h, --help
49 Display the help and exit.
50
52 libval
53
55 Copyright 2005-2013 SPARTA, Inc. All rights reserved. See the COPYING
56 file included with the DNSSEC-Tools package for details.
57
59 Abhijit Hayatnagarkar, Suresh Krishnaswamy, Robert Story, Michael Baer
60
62 val_getnameinfo(3)
63
64 libval(3)
65
66 http://www.dnssec-tools.org
67
68
69
70perl v5.14.3 2013-02-27 DT-GETNAME(1)