A command-line tool for verifying DNS configuration of domains in the Mauve Cloud infrastructure.
mauve-connect-check
queries the Mauve Cloud domain manager API to verify whether a domain's DNS records match the expected configuration. It provides detailed, color-coded output showing which records pass, fail, or need attention.
- DNS Record Verification: Checks A, AAAA, and CNAME records against expected values
- Colored Output: Clear visual feedback with color coding:
- ✅ Green: Passed checks
- ❌ Red: Failed checks
⚠️ Yellow: Warnings (e.g., legacy configurations)
- Wildcard Support: Handles wildcard DNS entries (e.g.,
*.example.com
) - Legacy Detection: Warns about deprecated configurations and suggests improvements
- Detailed Diffs: Shows expected vs actual DNS values for easy troubleshooting
# Clone the repository
git clone https://github.com/yourusername/mauve-connect-check.git
cd mauve-connect-check
# Build and install
cargo install --path .
- Rust 1.70 or later
- Internet connection (for API queries)
mauve-connect-check <domain>
mauve-connect-check --verbose example.com
The tool uses different exit codes to indicate the result:
0
: All checks passed1
: Error during check (network, API, etc.)2
: Missing or invalid argument3
: DNS for given domain is not correct
The tool provides a structured output showing:
- Domain being checked
- Overall check status
- Detailed record-by-record results including:
- Record type (A, AAAA, CNAME)
- Expected value
- Actual value
- Status (OK, NOT OK, etc.)
Example output:
Domain: mauve.de
Status: success
A mauve.de
Status: passed
incomplete
Values:
10.10.0.1: ok
10.10.0.2: not found
CNAME www.mauve.de
Status: passed
Values:
frontend.mauve.: ok
cargo build --release
cargo test
anyhow
: Error handlingclap
: CLIcolored
: Terminal output colorizationreqwest
: HTTP client for API callsserde
&serde_json
: JSON serializationtokio
: Async runtime
(c) Mauve Mailorder Software GmbH & Co. KG, 2025. Licensed under MIT license.