Module: DnsMadeEasy::CLI::Commands::Zone::DomainArguments
Overview
Shared handling for the DOMAIN FILE positional-argument pair used
by the provider-facing commands (plan, apply). Reads the zone file
with a friendly failure instead of a raw Errno::ENOENT, and verifies
the file's $ORIGIN agrees with the domain argument BEFORE any API
call is made — diffing foo.com against bar.com.zone should be an
error, not a surprise apply. Comparison strips the RFC trailing dot
($ORIGIN is an FQDN like "kig.re.") and ignores case.