jaw187 / node-traceroute

Wrapper around native traceroute command
25 stars 22 forks source link

undefined function dns.lookup #3

Open karenpeng opened 10 years ago

karenpeng commented 10 years ago

Hi, i was trying to run the exact code from the example, tracing google.com However, i've got an error "undefined is not a function" in the line of "dns.lookup(host, function (err) {" inside the module.

Do i need to setup something for the dns lookup?

jaw187 commented 8 years ago

@karenpeng Not sure if you ever figured out what the problem was. Sorry for such a delay. I'll take a look and let you know if I have a problem as well.