Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
OSS Library Calls (i - m) lwres_gethostbyname2(3)
ERRORS
If any of the following conditions occur, the lwres_gethostbyname2( ) function sets
lwres_h_errno to the value that corresponds to the condition:
HOST_NOT_FOUND
The name you have used is not a valid hostname or alias. This is not a soft error;
another type of name server request might be successful.
This is the only possible value if the resolver code has been disabled.
TRY_AGAIN The local server did not receive a response from an authoritative server. A retry
at a later time might succeed.
NO_RECOVERY
This is a nonrecoverable error.
NO_DATA | NO_ADDRESS
The requested name is valid but no associated address was found. Another type
of name server request might succeed.
FILES
/etc/hosts The Internet network hostname database file.
/etc/resolv.conf
The default resolver configuration file.
RELATED INFORMATION
Functions: gethostbyname2(3), lwres_hstrerror(3).
Files: hosts(4), resolv.conf(5).
527187-017 Hewlett-Packard Company 4−161