You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Activity
gireeshpunathil commentedon Aug 7, 2021
@nodejs/dns
tniessen commentedon Aug 8, 2021
For reference, the
ttloption was discussed in #5893 and added in #9296.The implementation appears to achieve this using
ares_parse_a_replyandares_parse_aaaa_reply, respectively. However, other parse functions, such asares_parse_ns_reply,ares_parse_ptr_reply,ares_parse_mx_reply,ares_parse_txt_reply_ext, etc. do not appear to support retrieving the TTL of the records.[-][dsn] - resolveTxt ttl flag[/-][+][dns] - resolveTxt ttl flag[/+]tniessen commentedon Aug 8, 2021
This appears to be a duplicate of #39399. Feel free to reopen if that's not correct.
tanguyantoine commentedon Aug 10, 2021
haha I'm late ^^ 👍