joyent/node — pull request #7071 by KenanSulayman (2014-02-07 17:03:27+00:00)
Title: dns: resolve: verify argument is valid callback

Don't use argument as callback if it's not a valid callback function. Throw a valid exception instead explaining the issue. Adds to #7070 ("DNS — Throw meaningful error(s)").