Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Collect all DNS sections by calling to each_resource instead of each_answer #3886
A call to
This is specially important if, for example, we are trying to retrieve nameservers for a certain domain.
There is indeed a response, but in the authority section, that is right now not collected by
@ereslibre Wow, thanks for the footwork on this one!
Our stdlib is a lightly-patched duplicate of MRI's, but we generally don't patch stdlib unilaterally, so we'll wait to see if MRI accepts this. When that happens, ping again and we'll be happy to merge this into JRuby.
One minor nit: there's unrelated whitespace changes in here. Can you eliminate those?