diff --git a/lib/needle.js b/lib/needle.js index 7a838062d..67f4dc934 100644 --- a/lib/needle.js +++ b/lib/needle.js @@ -211,7 +211,8 @@ Needle.prototype.setup = function(uri, options) { var config = { http_opts : { - localAddress: get_option('localAddress', undefined) + localAddress: get_option('localAddress', undefined), + lookup: get_option('lookup', undefined) }, // passed later to http.request() directly headers : {}, output : options.output,