-- sql/migrations/staging/007_dns_cdn_status.sql
-- Allow the DNS check to classify a site as "behind a CDN/WAF"
-- (CloudFlare, Sucuri, Akamai, etc.) instead of flagging it as a mismatch
-- when the resolved IP doesn't equal the WHP server's IP.

ALTER TABLE whp.ai_monitor_subscriptions
    MODIFY COLUMN dns_status
        ENUM('ok','cdn','mismatch','nxdomain','skipped','unknown')
        NOT NULL DEFAULT 'unknown';
