Home > PHP > Function > YP/NIS > yp_get_default_domain()

yp_get_default_domain()

yp_get_default_domain - Fetches the machine's default NIS domain

Syntax

string yp_get_default_domain ()

Arguments

-

Description

Returns the default domain of the node. Can be used as the domain parameter for successive NIS calls.

Version

PHP 4, 5 <= 5.0.5

Return value

Returns the default domain of the node or FALSE. Can be used as the domain parameter for successive NIS calls.