alexdalitz/dnsruby — pull request #15 by keithrbennett (2014-10-30 19:28:16+00:00)
Title: Add send_message! and query! methods to Resolver.

When using dnsruby to test the behavior of DNS servers, we often want to get back the error that was raised and inspect/test for it.

Rather than having to rescue these errors everywhere we call the resolver methods it would be helpful to have methods that return both the response and the error, and that's what the added methods do.

I've run dos2unix on the 2 changed files so that it doesn't matter which pull request is pulled first, this one or the "convert dos2unix" pull request.

The ignore-whitespace comparison can be seen at https://github.com/keithrbennett/dnsruby/compare/add-nonraising-query?expand=1&w=1.