Skip to content

Comments

feat: add --domain option to doctor, backfill versioning files#34

Merged
iracic82 merged 1 commit intomainfrom
feat/doctor-domain-option
Feb 19, 2026
Merged

feat: add --domain option to doctor, backfill versioning files#34
iracic82 merged 1 commit intomainfrom
feat/doctor-domain-option

Conversation

@iracic82
Copy link
Collaborator

Summary

  • Add explicit --domain parameter to doctor across all three interfaces (CLI, Python API, MCP)
  • Remove hardcoded default domain — discovery check is skipped with helpful hint if no domain specified
  • Backfill CHANGELOG entries for 0.6.9, 0.7.0, 0.7.1, 0.7.2 and fix all missing compare links
  • Update CITATION.cff (was stuck at 0.6.8) and CONTRIBUTING.md (test count, NIOS backend, version file list)
  • Bump version to 0.7.3

Usage

# CLI
dns-aid doctor --domain example.com

# Python
from dns_aid.doctor import run_checks
report = run_checks(domain="example.com")

# MCP
diagnose_environment(domain="example.com")

# Env var fallback
export DNS_AID_DOCTOR_DOMAIN=example.com
dns-aid doctor

Test plan

  • 750 tests pass
  • ruff check clean
  • dns-aid doctor without domain shows skip hint
  • dns-aid doctor --domain example.com resolves against specified domain
  • dns-aid doctor --help shows --domain option

Add explicit domain parameter across all three interfaces:
- Python: run_checks(domain="example.com")
- CLI: dns-aid doctor --domain example.com
- MCP: diagnose_environment(domain="example.com")

Remove hardcoded default domain from agent discovery check.
If no domain is specified via --domain or DNS_AID_DOCTOR_DOMAIN
env var, the check is skipped with a helpful hint.

Backfill CHANGELOG for 0.6.9, 0.7.0, 0.7.1, 0.7.2 and fix
all missing compare links. Update CITATION.cff and CONTRIBUTING.md.

Bump version to 0.7.3.

Signed-off-by: Igor Racic <iracic82@gmail.com>
@iracic82 iracic82 merged commit 6bddf57 into main Feb 19, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant