mafintosh / mafintosh/dns-socket

Recursive query support

Open
#6 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
106
Forks
18
PR merge metrics
No merged PRs in 30d

Description

I have a use case where it would be necessary to do full recursive queries beginning from the roots, similar to dig +trace. I thought we could do when a falsy server option is given. I maintain a package with the root hints at https://github.com/silverwind/root-hints, which would have to be included as a dependency.

Two topics on which I'm unsure about:

  • Should intermediate queries and responses be included in the results?
  • How to choose IPv4 vs IPv6 root servers?

If this is out of scope of this module, I could also just make a wrapping module.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing how dns-socket currently handles the server option and compare the requested behavior with dig +trace. Examine the proposed root-hints dependency and resolve whether intermediate queries and responses, and IPv4 versus IPv6 root servers, belong in the results and API.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.