node.js中的dns.getServers方法使用说明


方法说明:

返回当前正在使用的 ip地址,以字符串形式返回

语法:

复制代码 代码如下:

dns.getServers()

接收参数:

源码:

复制代码 代码如下:

exports.getServers = function() {
  return cares.getServers();
};


« 
» 
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3