Function Message.fill
Fill this Message
's header, ensuring consistency with a query
This method allows a server to simplify a few of the tasks required
when answering a DNS query:
- It sets the ID
in the header to match the query's;
- It sets the header's *COUNT
fields according to the arrays here;
- It will perform any additional setup required based on the query;
Parameters
Name | Description |
---|---|
query | The Header of the query |
Returns
A reference to this