const dns = require('dns') dns.lookup('domainName', function(err, result) { console.log(result) })
related:https://stackoverflow.com/questions/36689536/how-to-resolve-hostname-to-an-ip-address-in-node-js
const dns = require('dns') dns.lookup('domainName', function(err, result) { console.log(result) })
related:https://stackoverflow.com/questions/36689536/how-to-resolve-hostname-to-an-ip-address-in-node-js