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
Platform: Linux wolfgang-ThinkPad-P51 5.4.0-31-generic net: give better error messages #35-Ubuntu SMP Thu May 7 20:20:34 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Subsystem: dns
What steps will reproduce the bug?
First, you need a DNS zone with NS records delegating a subdomain to another DNS zone.
I set up an example on our domain:
root domain: ventx.de
delegated subdomain: delegation-test.ventx.de
The zone ventx.de contains a NS record "delegation-test.ventx.de" with this content:
This can be tested with dig delegation-test.ventx.de NS @ns-675.awsdns-20.net, which results in the very same output, so the zone is setup correctly.
For the following description I'll use the IP address of ns-675.awsdns-20.net, which is 205.251.194.163
When you try to replicate this query with nodejs, an ENODATA error is thrown:
I debugged this also with wireshark and was able to see, that the actual query to the nameserver
is correct and also the response is coming back with the correct recordSet:
As you can see, the response has the status "No error", however nodejs throws an ENODATA error.
How often does it reproduce? Is there a required condition?
I was able to reproduce the bug everytime without any other condition
What steps will reproduce the bug?
First, you need a DNS zone with NS records delegating a subdomain to another DNS zone.
I set up an example on our domain:
root domain: ventx.de
delegated subdomain: delegation-test.ventx.de
The zone ventx.de contains a NS record "delegation-test.ventx.de" with this content:
This can be tested with
dig delegation-test.ventx.de NS @ns-675.awsdns-20.net, which results in the very same output, so the zone is setup correctly.For the following description I'll use the IP address of ns-675.awsdns-20.net, which is 205.251.194.163
When you try to replicate this query with nodejs, an ENODATA error is thrown:
This is the output of the following code-snippet:
I debugged this also with wireshark and was able to see, that the actual query to the nameserver

is correct and also the response is coming back with the correct recordSet:
As you can see, the response has the status "No error", however nodejs throws an ENODATA error.
How often does it reproduce? Is there a required condition?
I was able to reproduce the bug everytime without any other condition
What is the expected behavior?
that's how the output of the snippet looks like, when you to not manually set a server
What do you see instead?
Additional information
I was also able to reproduce the issue with the node:latest docker container: