Gets the number of configured nameservers


(PECL event >= 1.2.6-beta)

EventDnsBase::countNameserversGets the number of configured nameservers

Описание

public int EventDnsBase::countNameservers ( void )

Gets the number of configured nameservers

Список параметров

У этой функции нет параметров.

Возвращаемые значения

Returns the number of configured nameservers(not necessarily the number of running nameservers). This is useful for double-checking whether our calls to the various nameserver configuration functions have been successful.