getaddr

Langue: en

Autres versions - même langue

Version: 2007-04-25 (mandriva - 01/05/08)

Section: 1 (Commandes utilisateur)

NAME

getaddr - command-line test program for the val_gettaddrinfo() function

SYNOPSIS

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

DESCRIPTION

This utility is a command-line wrapper around the val_getaddrinfo() function. It invokes the val_getaddrinfo() operation for the given command-line arguments and displays the return code from the function and the contents of the val_addrinfo structure.

The exit status for this program is 1 if the answer received is trusted, 2 if the answer received is validated, and -1 for an error. The trusted and validated status values are obtained using the val_istrusted() and val_isvalidated() functions from libval(3).

OPTIONS

-n, --novalidate
Do not perform validation.
-c, --canonname
Use the AI_CANONNAME flag in val_getaddrinfo()
-s, --service=PORT|SERVICE
Use the specified transport-layer port or service name
-h, --help
Display the help and exit.

PRE-REQUISITES

libval Copyright 2005-2007 SPARTA, Inc. All rights reserved. See the COPYING file included with the DNSSEC-Tools package for details.

AUTHORS

Abhijit Hayatnagarkar, Suresh Krishnaswamy, Robert Story

SEE ALSO

val_getaddrinfo(3)

libval(3)

http://dnssec-tools.sourceforge.net