1GETHOST(1) User Contributed Perl Documentation GETHOST(1)
2
3
4
6 gethost - command-line test program for the val_gethostbyname() (and
7 related) functions
8
10 gethost [options] name
11
13 This utility is a command-line wrapper around the val_gethostbyname()
14 (and related) functions. It invokes the val_gethostbyname(), val_geth‐
15 ostbyname_r() and val_gethostbyname2() functions for the given command-
16 line arguments and displays the returned hostent, the validation status
17 value, and the value of the h_errno variable.
18
19 The exit status for this program is 1 if the answer received is
20 trusted, 2 if the answer received is validated, and -1 for an error.
21 The trusted and validated status values are obtained using the
22 val_istrusted() and val_isvalidated() functions from libval(3).
23
25 -n, --novalidate
26 Do not perform validation.
27
28 -r, --reentrant
29 Use the re-entrant query interface.
30
31 -f, --family=[AF_INET⎪AF_INET6]
32 Use the specified address family for the query.
33
34 -h, --help
35 Display the help and exit.
36
38 libval
39
41 Copyright 2005-2007 SPARTA, Inc. All rights reserved. See the COPYING
42 file included with the DNSSEC-Tools package for details.
43
45 Abhijit Hayatnagarkar, Suresh Krishnaswamy, Robert Story
46
48 val_getaddrinfo(3)
49
50 libval(3)
51
52 http://dnssec-tools.sourceforge.net
53
54
55
56perl v5.8.6 2007-09-10 GETHOST(1)