var dns = require('dns');
var w3 = dns.lookup('www.w3schools.com', function (err, addresses, family) {
  console.log(addresses);
});

              
192.229.133.221