node-fqdn Get FQDN from host, Multiplatfotm Install npm install node-fqdn --save Usage var fqdn = require('node-fqdn'); console.log("FQDN:", fqdn());