This Coda Pack is a quick port of these two Apps Script custom functions for Google Sheets I built a while ago. It uses Cloudflare’s 1.1.1.1 DNS API, as demonstrated here, to retrieve information about different DNS records of any domain.
Demo Coda doc 👉here.