chkip.py – DNS- und Mailserver-Check-Tool
Go to file
Pascal Bouquet f791ede668 Show usage line when no arguments and no --me flag are provided
Previously, running chkip without any arguments attempted to resolve None
as a domain, resulting in misleading output like "No A record".

This commit adds a check to print the usage line if neither a domain nor
the --me flag is specified. This improves usability and makes the tool behave
more predictably when called without arguments.
2025-04-19 17:32:20 +02:00
chkip.py Show usage line when no arguments and no --me flag are provided 2025-04-19 17:32:20 +02:00
INSTALL.md Add one-liner installation command for easier setup 2025-04-19 15:34:09 +02:00
README.md add --me 2025-04-19 16:42:49 +02:00

chkip

🛠️ Ein praktisches DNS- und Mailserver-Check-Tool für die Kommandozeile.
Mit Unterstützung für Domain- und IP-Modus, JSON-Ausgabe und gängigen Mail-spezifischen DNS-Abfragen.


Features

  • Automatische Erkennung: IP vs. Domain
  • Domain-Modus:
    • A / AAAA / MX
    • PTR & FCrDNS je MX
    • rDNS (via ipinfo.io)
    • SPF (-sS)
    • DMARC (-sD)
    • MTA-STS (-sM)
    • TLSA/DANE (-sT)
    • DKIM (-sDK [selector])
  • IP-Modus:
    • PTR
    • rDNS (via ipinfo.io)
    • FCrDNS-Check
  • Eigene IP-Adressen anzeigen (--me):
    • Lokale IPv4
    • Öffentliche IPv4/IPv6
    • CGNAT-Erkennung
  • JSON-Ausgabe (--json)
  • Lizenz: GPLv3
  • Autor: Pascal Bouquet (erstellt am 17.04.2025)

🧪 Beispielausgaben

Domain:

$ chkip bouquet24.de

A:       31.16.143.139
AAAA:    No AAAA record
MX:
  Host:   mail.bouquet24.de
  IP:     172.94.17.144
  PTR:    mail.bouquet24.de
  FCrDNS: ok

rDNS:    ip1f108f8b.dynamic.kabel-deutschland.de

$ chkip 172.94.17.144                                               
PTR:     mail.bouquet24.de
rDNS:    mail.bouquet24.de
FCrDNS:  ok