aboutsummaryrefslogtreecommitdiff
path: root/src/node.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/node.cc')
-rw-r--r--src/node.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/node.cc b/src/node.cc
index 412a666785..131b8ca667 100644
--- a/src/node.cc
+++ b/src/node.cc
@@ -18,7 +18,6 @@
#include <node_io_watcher.h>
#include <node_net2.h>
#include <node_events.h>
-#include <node_dns.h>
#include <node_cares.h>
#include <node_net.h>
#include <node_file.h>
@@ -1186,15 +1185,6 @@ static Handle<Value> Binding(const Arguments& args) {
binding_cache->Set(module, exports);
}
- } else if (!strcmp(*module_v, "dns")) {
- if (binding_cache->Has(module)) {
- exports = binding_cache->Get(module)->ToObject();
- } else {
- exports = Object::New();
- DNS::Initialize(exports);
- binding_cache->Set(module, exports);
- }
-
} else if (!strcmp(*module_v, "cares")) {
if (binding_cache->Has(module)) {
exports = binding_cache->Get(module)->ToObject();
@@ -1276,7 +1266,6 @@ static Handle<Value> Binding(const Arguments& args) {
exports->Set(String::New("buffer"), String::New(native_buffer));
exports->Set(String::New("child_process"),String::New(native_child_process));
exports->Set(String::New("dns"), String::New(native_dns));
- exports->Set(String::New("dns_cares"), String::New(native_dns_cares));
exports->Set(String::New("events"), String::New(native_events));
exports->Set(String::New("file"), String::New(native_file));
exports->Set(String::New("fs"), String::New(native_fs));