# EventDnsBase::clearSearch

(PECL event >= 1.2.6-beta)

EventDnsBase::clearSearch — Removes all current search suffixes

### 说明

public EventDnsBase::clearSearch(): void

Removes all current search suffixes from the DNS base; the EventDnsBase::addSearch() function adds a suffix.

### 参数

此函数没有参数。

### 返回值

没有返回值。

### 参见

- EventDnsBase::addSearch() - Adds a domain to the list of search domains

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open