PHP 8.1.31 Released!

EventDnsBase::countNameservers

(PECL event >= 1.2.6-beta)

EventDnsBase::countNameserversGets the number of configured nameservers

Description

public EventDnsBase::countNameservers(): int

Gets the number of configured nameservers

Parameters

This function has no parameters.

Return Values

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.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top