node.js中的dns.getServers方法使用说明
2023-06-13 09:15:32 时间
方法说明:
返回当前正在使用的ip地址,以字符串形式返回
语法:
dns.getServers()
接收参数:
无
源码:
exports.getServers=function(){
returncares.getServers();
};
相关文章
- JS刷新当前页面的方法总结
- JS获取当前年份_js获取当前时间年月日
- JS正则表达式从入门到入土(9)—— test方法以及它的那些坑详解编程语言
- JS test()方法:检测一个字符串是否匹配某个正则表达式
- 动态生成js类的实现方法
- 控件开发时两种JS嵌入资源方式的使用方法
- 解决JS浮点数运算出现Bug的方法
- js二级地域选择的实现方法
- node.js中的path.extname方法使用说明
- node.js中的buffer.slice方法使用说明
- node.js中的http.response.removeHeader方法使用说明
- node.js中的fs.ftruncate方法使用说明
- node.js中的fs.stat方法使用说明
- node.js中的fs.readdirSync方法使用说明
- js使用正则子表达式匹配首字母与尾字母相同单词的方法
- js使用正则实现ReplaceAll全部替换的方法