# Class Yp.Domain

Method create

  `Yp.Domain Yp.Domain(string|void domain)`
  `void bind(string domain)`

Description

  If domain is not specified , the default domain will be used. (As returned by Yp.default_domain()).

  If there is no YP server available for the domain, this function call will block until there is one. If no server appears in about ten minutes or so, an error will be returned. This timeout is not configurable.

See also

  Yp.default_domain()