Checkly changelog
Checkly changelog

DNS module is now available in all runtimes





We just added the dns module to our allow-list for all script runtimes. Some customers expressed interest in using a DNS lookup or some other DNS operation in their API setup scripts and / or in their Playwright browser checks.

We recommend using the .promises API. This works as follows:

const resolver = require('dns').promises
const res = await resolver.lookup('')
// this prints: { address: '', family: 4 }

Full docs are here for the Nodejs 12 runtime