summaryrefslogtreecommitdiff
path: root/lib/dns.js
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2010-03-15 13:48:03 -0700
committerRyan Dahl <ry@tinyclouds.org>2010-03-15 14:24:15 -0700
commit627fb5adbbc324fae657d2c88523234e6d83cc1c (patch)
treef29a1ebd52770fa7ba8a903b8fb685a514d31dcb /lib/dns.js
parent3994340a4567d10a855f0c1f112f0965517e3e52 (diff)
downloadnodejs-627fb5adbbc324fae657d2c88523234e6d83cc1c.tar.gz
nodejs-627fb5adbbc324fae657d2c88523234e6d83cc1c.tar.bz2
nodejs-627fb5adbbc324fae657d2c88523234e6d83cc1c.zip
Load c++ modules on demand
Diffstat (limited to 'lib/dns.js')
-rw-r--r--lib/dns.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dns.js b/lib/dns.js
index 9996d2479..dd3770e0f 100644
--- a/lib/dns.js
+++ b/lib/dns.js
@@ -1,4 +1,4 @@
-var events = require('events');
+process.binding('dns');
exports.resolve = function (domain, type_, callback_) {
var type, callback;