Some things in life are magical. Verifying Google Search Console is usually not one of them 🙂
Auto DNS Verification makes verifying GSC almost magical.
Auto DNS verification will automatically verify your site ownership by connecting directly with DNS provider who is managing your nameservers.
Google originally built a custom integration with select DNS providers and now appears to use Domain Connect for some of those verification connections.
Domain Connect is an open source project that makes it easier to manage/update their DNS which is often technical & complicated. Think of it as OAuth between your website and service providers...
Originally drafted in 2016, this open standard has been adopted by several DNS providers (ie IONOS) and Service Providers (ie Bing). Go to DomainConnect.org to learn more.
Engineering leaders, like Arnold Blinn (then at GoDaddy), spearheaded the project in an effort to make website service integration & configuration easier for website owners. More specifically, the goal was to minimize the struggle of setting up popular 3rd party services like web hosting, email, search analytics, and more.