dns.js 406 B

123456789101112131415
  1. exports.lookup = exports.resolve4 =
  2. exports.resolve6 = exports.resolveCname =
  3. exports.resolveMx = exports.resolveNs =
  4. exports.resolveTxt = exports.resolveSrv =
  5. exports.resolveNaptr = exports.reverse =
  6. exports.resolve =
  7. function () {
  8. if (!arguments.length) return;
  9. var callback = arguments[arguments.length - 1];
  10. if (callback && typeof callback === 'function') {
  11. callback(null, '0.0.0.0')
  12. }
  13. }