Closed
Description
Is your feature request related to a problem? Please describe.
I would like to implement some application cache on top of dns.resolveTxt
but TTL are not parsed nor returned by the dns lib
Describe the solution you'd like
The same way as https://nodejs.org/docs/latest-v15.x/api/dns.html#dns_dns_resolve4_hostname_options_callback I would love to have the ability to provide a ttl
boolean flag so that I retrieved the dnx txt records with their ttl
Describe alternatives you've considered
None
Note: I updated unit tests to show case how I would like to use this API: #39529