GoLang EventDnsBase::addNameserverIp

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

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

PHP EventDnsBase::addNameserverIp

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


(PECL event >= 1.2.6-beta)

EventDnsBase::addNameserverIpAdds a nameserver to the DNS base


public bool EventDnsBase::addNameserverIp ( string $ip )

Adds a nameserver to the evdns_base.



The nameserver string, either as an IPv4 address, an IPv6 address, an IPv4 address with a port ( IPv4:Port ), or an IPv6 address with a port ( [IPv6]:Port ).

Return Values

Returns TRUE on success. Otherwise FALSE.