GoLang EventDnsBase::countNameservers

request it (186)
GoLang replacement for PHP's EventDnsBase::countNameservers [edit | history]

Do you know a GoLang replacement for PHP's EventDnsBase::countNameservers? Write it!

PHP EventDnsBase::countNameservers

PHP original manual for EventDnsBase::countNameservers [ show | php.net ]


(PECL event >= 1.2.6-beta)

EventDnsBase::countNameserversGets the number of configured nameservers


public int EventDnsBase::countNameservers ( void )

Gets the number of configured nameservers


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.