-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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] Reverse DNS resolution returns - (dash) character #4229
Comments
That's what DNS actually returns. There is nothing that Node.js could or should do here. |
@ChALkeR Thanks for the quick answer. Is this part of the DNS protocol ? I can't find information anywhere about a possible |
It's technically legal, the RDATA field in PTR records is free-form. Suggest close? |
It might be interesting to mention this in the DNS core module documentation if that's the case because otherwise anyone that does not validate the hostnames returned will encounter unnecessary errors further down the pipeline. Yup, the issue can be closed. Thanks for the information! |
Original commit message: aix: disable ipv6 link local (#4229) AIX does not implement ifaddrs and when retrieving the network interfaces with uv_interface_addresses there was a test failure in tcp_connect6_link_local. For now disable ipv6 link local on aix to: 1) fix broken aix build 2) stop blocking libuv upgrade in node Refs: libuv/libuv#4222 (comment) Refs: #50650 Refs: libuv/libuv@bfbe4e3
Original commit message: aix: disable ipv6 link local (#4229) AIX does not implement ifaddrs and when retrieving the network interfaces with uv_interface_addresses there was a test failure in tcp_connect6_link_local. For now disable ipv6 link local on aix to: 1) fix broken aix build 2) stop blocking libuv upgrade in node Refs: libuv/libuv#4222 (comment) Refs: #50650 Refs: libuv/libuv@bfbe4e3 PR-URL: #50650 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Original commit message: aix: disable ipv6 link local (#4229) AIX does not implement ifaddrs and when retrieving the network interfaces with uv_interface_addresses there was a test failure in tcp_connect6_link_local. For now disable ipv6 link local on aix to: 1) fix broken aix build 2) stop blocking libuv upgrade in node Refs: libuv/libuv#4222 (comment) Refs: #50650 Refs: libuv/libuv@bfbe4e3 PR-URL: #50650 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
I encountered a strange behaviour on the
dns.reverse()
method. e.g:If you resolve the domain name
www.fagron.com
to an IP address:If you now re-use this IPv4 address and do a reverse DNS resolution:
It seems fairly strange that the returned value is a
-
dash character (45) since you would expect that:hostnames
argument isundefined
hostnames
argument is an empty array[]
Node.js version is:
v4.2.2
Operating system version is:
Darwin myhostname.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64
The text was updated successfully, but these errors were encountered: