我明白我的问题肯定不是dns.lookup函数特有的,但有人可以向我解释返回的对象吗?
> dns.lookup("google.com",function(err, address, family){});
> { callback: { [Function: asyncCallback] immediately: true },
family: 0,
hostname: 'google.com',
oncomplete: [Function: onlookup],
domain:
{ domain: null,
_events: { error: [Function] },
_maxListeners: undefined,
members: [] } }