class Pdns::API::Endpoints::Searching
- Pdns::API::Endpoints::Searching
- Pdns::API::Endpoint
- Reference
- Object
Defined in:
pdns/api/endpoints/searching.crInstance Method Summary
-
#search(query : String, *, max : Int32? = nil, object_type : String? = nil) : Array(SearchResult)
Search the data inside PowerDNS
Constructor methods inherited from class Pdns::API::Endpoint
new(api : API, base_path : String)
new
Instance Method Detail
def search(query : String, *, max : Int32? = nil, object_type : String? = nil) : Array(SearchResult)
#
Search the data inside PowerDNS
Search the data inside PowerDNS for query and return at most max
results. This includes zones, records and comments. The *
character
can be used in query as a wildcard character and the ?
character
can be used as a wildcard for a single character.