Skip to content

Releases: peaktwilight/infomaniak-cli

v0.7.0 — DNS Audit, Domain Expiry, Zone Export, Propagation Check

15 Mar 11:10

Choose a tag to compare

What's new

DNS Audit — scan for misconfigurations

infomaniak dns audit

Checks all domains for: missing SPF, DMARC, DKIM, MX records, multiple SPF records (RFC violation), CNAME at root, and extremely low TTLs. Groups findings by issue type.

Domain expiry tracking

infomaniak domains
infomaniak domains --warn 60

Lists all domains sorted by expiry date with color-coded warnings for domains expiring soon.

BIND zone file export

infomaniak dns zone example.com
infomaniak dns zone example.com -o example.com.zone

Generates a standard BIND-format zone file — useful for migrations to/from other providers.

DNS propagation check

infomaniak dns propagation example.com
infomaniak dns propagation example.com -n www -t CNAME

Queries Google, Cloudflare, Quad9, and OpenDNS to verify DNS propagation. Shows whether all resolvers agree.

Stats

  • 30+ commands across 10 service groups
  • 115 tests (unit + integration)

Install / upgrade

pip install --upgrade infomaniak

v0.6.0 — Account, Hosting, Drive, Mail Mailboxes, DNS Search/Backup/Sync

15 Mar 10:05

Choose a tag to compare

What's new

Account overview

infomaniak account

Shows account name, ID, and product summary grouped by service.

New service commands

infomaniak hosting list          # Web hosting services
infomaniak drive list            # kDrive instances
infomaniak mail mailboxes <id>   # List mailboxes (requires 'mail' scope)

DNS power tools

infomaniak dns search "vercel"                        # Search across all domains
infomaniak dns backup                                  # Backup all domains at once
infomaniak dns sync example.com desired.json --dry-run # Terraform-style declarative sync

Setup wizard improvements

  • Now checks which optional scopes (mail, web, drive) are enabled after token validation
  • Lists both required and optional scopes upfront

Fixes

  • Fixed mailbox display — uses correct API response fields
  • Removed phantom priority field from DNS export/import (MX priority is part of the target string)
  • Fixed Python 3.9–3.11 f-string compatibility

Stats

  • 24 commands across 9 service groups
  • 102 tests (unit + integration)
  • CI on Python 3.9–3.13

Install / upgrade

pip install --upgrade infomaniak

v0.5.0 — Package Restructure, DNS Diff & Clone

15 Mar 09:30

Choose a tag to compare

What's new

DNS diff — compare live records against a backup

infomaniak dns diff example.com backup.json

Shows records that exist in the file but not live (+) and vice versa (-). Great for drift detection and auditing.

DNS clone — copy records between domains

infomaniak dns clone source.com target.com

Copies all records (except NS/SOA) from one domain to another. Preview before confirming.

Config show

infomaniak config show

Displays current token source, account ID, and config file status.

Package restructure

  • Proper Python package architecture (infomaniak_cli/ with modules)
  • 89 tests (unit + subprocess integration)
  • CI running on Python 3.9–3.13

Install / upgrade

pip install --upgrade infomaniak

v0.4.0 — Products, Mail, Status & DNS Export/Import

14 Mar 11:20

Choose a tag to compare

What's new

DNS export & import

# Export all records
infomaniak dns export example.com
infomaniak dns export example.com --format csv --output backup.csv

# Import records from file
infomaniak dns import example.com records.json

Products listing

infomaniak products
infomaniak products --type email_hosting

Mail hosting

infomaniak mail list

Service status overview

infomaniak status

Shows all products grouped by service with maintenance/locked/operational indicators.

JSON output

Add --json to any read command for machine-readable output:

infomaniak dns domains --json
infomaniak products --json
infomaniak status --json

Install / upgrade

pip install --upgrade infomaniak

v0.3.1 — Fix missing accounts scope

13 Mar 23:08

Choose a tag to compare

Fix

  • Added missing accounts scope to token requirements. The /1/accounts endpoint requires this scope for token validation and account discovery. Updated setup wizard, README, and .env.example.

Upgrade

pip install --upgrade infomaniak

v0.3.0 — Setup Wizard & Colored Output

13 Mar 23:02

Choose a tag to compare

What's new

Interactive setup

infomaniak setup

Walks you through token creation, validates against the API, saves config to ~/.config/infomaniak/config.ini.

Colored terminal output

  • Bold headers, colored record types, green/dim status indicators
  • Auto-disabled when output is piped (safe for scripting)

Config system

  • Token stored securely in ~/.config/infomaniak/config.ini (600 permissions)
  • Lookup order: environment variable → config file → .env file

Install / upgrade

pip install --upgrade infomaniak

v0.2.0 — CLI Restructure

13 Mar 22:57

Choose a tag to compare

What's new

  • Command renamed from infomaniak-cli to just infomaniak
  • Service subcommands — DNS commands now live under infomaniak dns
  • Structured for future services (hosting, mail, etc.)

New command format

infomaniak dns domains
infomaniak dns records example.com
infomaniak dns add example.com A www 93.184.216.34
infomaniak --version

Install / upgrade

pipx install infomaniak
# or
pip install --upgrade infomaniak

v0.1.0 — Initial Release

13 Mar 22:54

Choose a tag to compare

infomaniak v0.1.0

CLI tool for managing Infomaniak services from the terminal.

Features

  • List all domains on your account
  • List, filter, and inspect DNS records
  • Create, update, and delete records (A, AAAA, CNAME, MX, TXT, SRV, NS, etc.)
  • Check if a record resolves correctly on Infomaniak's nameservers
  • Auto-detects your account ID

Install

pipx install infomaniak
# or
pip install infomaniak