-
Notifications
You must be signed in to change notification settings - Fork 30.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dns: TTL for TXT entries #39399
Comments
It doesn't look like cares supports this out of the box. c-ares/c-ares#393 seems to be some progress though. I did find a patch thanks to @saghul's work on https://github.com/saghul/pycares that adds TTL support to cares, but it breaks ABI |
#14713 is the Node.js issue tracking things "missing" from c-ares. |
Also, #38184 could be the solution to many of these :) |
Just copying #39528 (comment) from a duplicate issue:
|
There has been no activity on this feature request for 5 months and it is unlikely to be implemented. It will be closed 6 months after the last non-automated comment. For more information on how the project manages feature requests, please consult the feature request management document. |
There has been no activity on this feature request and it is being closed. If you feel closing this issue is not the right thing to do, please leave a comment. For more information on how the project manages feature requests, please consult the feature request management document. |
The
dns.lookupTxt()
function returns the TXT entries but omits the TTL entries. This is a problem if one intends to add a cache on top oflookupTxt()
Describe the solution you'd like
Probably the best I could see is to have an option for
lookupTxt
in the form of{ ttl: true }
that returns a value + ttl object instead of a simple string:The text was updated successfully, but these errors were encountered: