@feizheng/next-domain2ip
v1.0.1
Published
Query ip from domain.
Downloads
5
Readme
next-domain2ip
Query ip from domain.
installation
npm install -S @feizheng/next-domain2ip
usage
import '@feizheng/next-domain2ip';
nx.domain2ip('www.china.com').then(res=>{
console.log(res);
});
// [ '13.114.40.48' ]
resources
- https://millermedeiros.github.io/mdoc/examples/node_api/doc/dns.html#dns.lookup
license
Code released under the MIT license.