Function NameRegistry.answerQuestions
Accepts a DNS message and returns an answer to it.
The input message should contains a serie of questions, which the server will answer. Currently, only one registry can exists (it assumes authority), and recursion is not yet supported.
Parameters
Name | Description |
---|---|
query | The query received by the server |
sender | A delegate that allows to send a Message to the client.
A server may send multiple Message s as a response to a
single query, e.g. when doing zone transfer. |
tcp | True if DNS is accessed through TCP |