3 lines
121 B
JavaScript
3 lines
121 B
JavaScript
|
const dns = require('dns');
|
||
|
dns.lookup('blog.headdesk.me', (err,address,family) => console.log('results: %s', address));
|