Skip to content
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

doc: enhanced readability #43702

Closed
wants to merge 1 commit into from
Closed

doc: enhanced readability #43702

wants to merge 1 commit into from

Conversation

0xSanyam
Copy link
Contributor

@0xSanyam 0xSanyam commented Jul 6, 2022

fixed some grammar in dns doc

@nodejs-github-bot
Copy link
Collaborator

Review requested:

  • @nodejs/net

@nodejs-github-bot nodejs-github-bot added dns Issues and PRs related to the dns subsystem. doc Issues and PRs related to the documentations. labels Jul 6, 2022
@@ -387,7 +387,7 @@ changes:

* `hostname` {string} Host name to resolve.
* `options` {Object}
* `ttl` {boolean} Retrieve the Time-To-Live value (TTL) of each record.
* `ttl` {boolean} Retrieves the Time-To-Live value (TTL) of each record.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure this is correct, the option doesn't retrieve anything, however setting it to true instruct the API to retrieve the value.

Copy link
Contributor Author

@0xSanyam 0xSanyam Jul 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, I understand, but it does retrieve the time to live value when ttl option is used, in this case the ttl is 60, so by writing retrieves, it is stating that if we use hostname with option ttl, we are presented with an array which has ttl value and the api works in the background

@0xSanyam
Copy link
Contributor Author

0xSanyam commented Jul 6, 2022

This PR is a reattempt of PR #43694

@aduh95
Copy link
Contributor

aduh95 commented Jul 6, 2022

This PR is a reattempt of PR #43694

Oh nice, let's reopen that other PR and land it then, it would be much simpler! Thanks, closing this one now.

@aduh95 aduh95 closed this Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dns Issues and PRs related to the dns subsystem. doc Issues and PRs related to the documentations.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants