-
-
Notifications
You must be signed in to change notification settings - Fork 61
Resolving MX & NS Records #37
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
Conversation
|
I was just trying to figure out why the parser did not give me back all the nameservers. Would be much appreciated if this was to be merged. |
|
Feedback appreciated. |
|
Thanks for the PR @gophry, I like this feature, but I'm not so sure about the current interface 👍 What does |
|
@clue apologies. i am under medical treatment for some time so was unavailable. |
|
No worries, there's no need to hurry these things, I hope you're alright :)
What's the reasoning for this? I have to admit I'm not sold on the idea of using a single method that returns a different data structure depending on an input parameter. As an alternative, does it make sense to move this to separate methods instead? |
|
I was in sense not comfortable myself with the idea. but the current resolve() returns a string. it will make sense to make them as separate methods. |
|
FWIW, Node.js also has separate methods for each query type, for example https://nodejs.org/api/dns.html#dns_dns_resolvens_hostname_callback. Its |
|
any estimate on when it will be merged ? |
Implement message body parsing for types #31 partial implementation. MX AND NS Records.