Gets the number of configured nameservers

EventDnsBase::countNameservers

(PECL event >= 1.2.6-beta)

EventDnsBase::countNameserversGets the number of configured nameservers

說明

public EventDnsBase::countNameservers(): int

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.

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *