From 5a3f7686f0aabb6219c6181dbd95272306017204 Mon Sep 17 00:00:00 2001 From: Alarig Le Lay Date: Sat, 27 Jul 2024 13:39:47 +0200 Subject: [PATCH] Updating the readme to explain the basics Signed-off-by: Alarig Le Lay --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a11052a..1255070 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ Script intented to check a domain expiration with a query to the corresponding -RDAP server. +RDAP server. The RDAP server for the TLD is extracted from the IANA JSON RDAP. +If the expiration field isn’t found on the TLD server, the script falls back to +the registrar server. This script is inspired from https://raw.githubusercontent.com/buanzo/check_expiration_rdap/main/src/nagios_check_domain_expiration_rdap/nagios_check_domain_expiration_rdap.py @@ -8,10 +10,10 @@ and `/usr/lib/python3.11/site-packages/nagiosplugin/examples/` The script assumes that the TLD has only one label while looking for the RDAP server from the IANA JSON. If it’s not the case it will fail. -I don’t understand half of what I wrote - Have fun. +For all the options, run `./check_domain_expiration_rdap.py -h` + Here are the tested cases: ```shell # expired domain