You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
406 B
16 lines
406 B
4 years ago
|
exports.lookup = exports.resolve4 =
|
||
|
exports.resolve6 = exports.resolveCname =
|
||
|
exports.resolveMx = exports.resolveNs =
|
||
|
exports.resolveTxt = exports.resolveSrv =
|
||
|
exports.resolveNaptr = exports.reverse =
|
||
|
exports.resolve =
|
||
|
function () {
|
||
|
if (!arguments.length) return;
|
||
|
|
||
|
var callback = arguments[arguments.length - 1];
|
||
|
if (callback && typeof callback === 'function') {
|
||
|
callback(null, '0.0.0.0')
|
||
|
}
|
||
|
}
|
||
|
|