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.

dns.js 406B

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. }