suse man page for tnm::netdb

Query: tnm::netdb

OS: suse

Section: n

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

netdb(n)							 Tnm Tcl Extension							  netdb(n)

__________________________________________________________________________________________________________________________________________________

NAME
netdb - Access the local network databases. _________________________________________________________________
DESCRIPTION
The netdb command provides access to network information that is stored in configuration files, the Network Information Service (NIS) or in the Domain Name System (DNS). The results of the netdb command usually depend on the local configuration of your operating system.
NETDB COMMAND
netdb hosts netdb hosts name address netdb hosts address name The first version of the netdb hosts command returns a list of all locally known hosts. Each element of this list contains a host name and its IP address. The result is an empty list on many systems that are configured to use the DNS for hostname lookups. The second version of the netdb hosts command converts an IP address into a host name and the third version of the netdb hosts command converts a host name into an IP address. netdb networks netdb networks name address netdb networks address name The first version of the netdb networks command returns a list of all locally known networks. Each element of this list contains a network name and the IP network address. The second version of the netdb networks command returns the network name that belongs to the IP network address and the third version of the netdb networks command returns the network address that belongs to a given net- work name. netdb protocols netdb protocols name number netdb protocols number name The first version of the netdb protocols command returns a list of all locally known Internet protocols. Each element of this list contains a protocol name and its protocol number. The second version of the netdb protocols command returns the protocol name that belongs to number and the third version of the netdb protocols command returns the protocol number that belongs to a protocol name. netdb services netdb services name number protocol netdb services number name protocol The first version of the netdb services command returns the list of all locally known services. Each element of this list contains a service name, the service number and the transport protocol. The second version of the netdb services command returns the service name for the service described by number and protocol. The third version of the netdb services command returns the protocol number for the service described by name and protocol. netdb sunrpcs netdb sunrpcs name number netdb sunrpcs number name The first version of the netdb sunrpcs command lists all locally known Sun RPCs. Each element of this list contains a RPC name and its registration number. The second version of the netdb sunrpcs command returns the RPC name for a given RPC number and the third version of the netdb sunrpcs command returns the RPC number for a given RPC name. netdb ip class address netdb ip range address mask The first version of the netdb ip command returns the IP class of the given address. The following classes are recognized: A, B, C, D and loopback. The second version of the netdb ip command returns the list of IP addresses in the address range given by address and mask.
SEE ALSO
scotty(1), Tnm(n), Tcl(n)
AUTHORS
Juergen Schoenwaelder <schoenw@cs.utwente.nl> Tnm netdb(n)
Related Man Pages
endprotoent(3) - redhat
getnetbyaddr(3) - redhat
getprotoent(3) - redhat
setprotoent(3) - redhat
tnm::netdb(n) - suse
Similar Topics in the Unix Linux Community
set ip address
network information
UNIX command for Getting IP addresss of different hosts in WLAN
how can I get network services
Which command can be used to show running services?