Skip to main content


Deno standard library
Go to Latest
function resolveCaa
import { resolveCaa } from "";

Uses the DNS protocol to resolve CAA records for the hostname. The addresses argument passed to the callback function will contain an array of certification authority authorization records available for the hostname (e.g. [{critical: 0, iodef: ''}, {critical: 128, issue: ''}]).


hostname: string
callback: (err: ErrnoException | null, records: CaaRecord[]) => void