Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Dns.QueryMap DNS query-response mechanism onto trie database.
Partially-marshalled query response; that is, it has been uncompacted from the compact Trie representation, but not yet rendered into a
Cstruct.buf.
type flush = Name.t -> Packet.rdata -> boolresponse_of_answer query answer is the Packet.t constructed from the answer to the query
answer_of_response response is the answer corresponding to the upstream response for proxied or forwarded response.
val answer :
?dnssec:bool ->
?mdns:bool ->
?filter:filter ->
?flush:flush ->
Name.t ->
Packet.q_type ->
Trie.dnstrie ->
answerAnswer a query about domain_name, given a query type q_type and a Trie of DNS data.
val answer_multiple :
?dnssec:bool ->
?mdns:bool ->
?filter:filter ->
?flush:flush ->
Packet.question list ->
Trie.dnstrie ->
answerAnswer one or more questions given a Trie of DNS data.
val create :
?dnssec:bool ->
id:int ->
Packet.q_class ->
Packet.q_type ->
Name.t ->
Packet.tcreate ~id q_class q_type q_name creates a query for q_name with the supplied id, q_class, and q_type.