The UTL_INADDR
package provides a PL/SQL procedures to support internet addressing. It provides an API to retrieve host names and IP addresses of local and remote hosts.
This chapter contains the following topics:
Security Model
Exceptions
Examples
This package is an invoker's rights package, which means that the invoking user must be granted the connect
privilege in the access control list assigned to the remote network host to which he or she wishes to connect.
Note:
For more information about managing fine-grained access, see Oracle Database Security Guide.Table 227-2 UTL_INADDR Package Subprograms
Subprogram | Description |
---|---|
Retrieves the IP address of the local or remote host given its name |
|
Retrieves the name of the local or remote host given its IP address |
This function retrieves the name of the local or remote host given its IP address.
Table 227-5 GET_HOST_NAME Function Parameters
Parameter | Description |
---|---|
|
The IP address of the host used to determine its host name. If ip is not |