Ora-29257 When Trying to Use UTL_INADDR to Get IP Address or Host Name of a Server

(Doc ID 1270653.1)

Last updated on AUGUST 28, 2017

Applies to:

PL/SQL - Version and later
Information in this document applies to any platform.
***Checked for relevance on 28-Aug-2017***


When using either the get_host_address() or get_host_name() function of the UTL_INADDR package to get host information, you receive an ORA-29257 error much like below:

ORA-29257: host SOMEHOST unknown
ORA-06512: at "SYS.UTL_INADDR", line 19
ORA-06512: at "SYS.UTL_INADDR", line 40


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms