This commit will be used as a base for the next code updates in order to have a better control of dns_message_t objects' lifetime. (cherry picked from commit 12d6d13100)
12d6d13100