Treso - Resolver for Tcl Found at: [http://sourceforge.net/projects/treso/] [Stu] 2012-08-27 Initial development version. ---- Documentation ===none NAME treso - Name resolver SYNOPSIS package require Tcl 8.5 package require treso 0.1 namespace import ::treso::* treso::resolve ?-option ...? what ?-option ...? DESCRIPTION This command uses the system's resolver to resolve names to addresses. The first address found is returned unless one of the return options is given. A single return option returns the option's value. More than one return option or the -all return option will return a dict of option/value pairs. Lookups are performed in the inet domain by default. PARAMETERS what Name or numeric address RESOLVER OPTIONS -domain domain Domain, inet or inet6 RETURN OPTIONS -name Name -aliases List of aliases -addresses List of addresses -domain Domain -all All of the above EXAMPLES resolve localhost resolve -aliases localhost -domain inet -addresses resolve -domain -domain inet6 localhost COPYRIGHT Copyright (c) 2012 Stuart Cassoff === <> Networking