/** * DNS Addon * * Validates that DNS records resolve to the expected targets. * Does NOT call any DNS provider API — works with any provider (Dynu, Cloudflare, etc.) * * ============================================================ * USAGE * ============================================================ * * Configure in stack.yml: * * dev: * domain: dev.example.com * plugins: * dns: * records: * - host: "" # root domain → Vercel * target: cname.vercel-dns.com * - host: api # api.dev.example.com → AWS ALB * target: my-alb.us-east-1.elb.amazonaws.com * * On scan: does DNS lookup, warns if records don't match expected targets. * On fix: shows what needs updating, acknowledges warning in stackAuto.yml. * Re-checks automatically if target changes in stack.yml. * ============================================================ */ import type { FactiiiConfig, Fix } from '../../../types/index.js'; declare class DnsAddon { static readonly id = "dns"; static readonly name = "DNS"; static readonly category: 'addon'; static readonly version = "1.0.0"; static readonly requiredEnvVars: string[]; static readonly configSchema: Record; static readonly autoConfigSchema: Record; /** * Determine if this addon should be loaded. * Loads if any environment has plugins.dns configured. */ static shouldLoad(_rootDir: string, config: FactiiiConfig): Promise; static readonly fixes: Fix[]; private _config; constructor(config: FactiiiConfig); } export default DnsAddon; //# sourceMappingURL=index.d.ts.map