class Pdns::API::Endpoints::Searching

Defined in:

pdns/api/endpoints/searching.cr

Instance Method Summary

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.


[View source]