CHECK-Z...PIRATION(1)
π check-zone-expiration(1)
okay so this is check-zone-expiration, straight out of the User Contributed Perl Documentation section, and bestieβ¦ it's literally just a little script that tells you how long your DNS zones have left before they ghost you. π°οΈβ¨
β¨ NAME β¨
check-zone-expiration β displays how long until a zone's records expire π
πΈ SYNOPSIS πΈ
first example, no flags, just vibes:
# check-zone-expiration dnssec-tools.org paypal.com dnssec-tools.org
will expire in 26 days, 2 hours, 16 minutes, 36 seconds paypal.com
will expire in 12 days, 17 hours, 7 minutes, 1 second
and here's the same thing but with -m doing its little filter thing:
# check-zone-expiration -m 1123200 dnssec-tools.org paypal.com
paypal.com will expire in 12 days, 17 hours, 6 minutes, 22
seconds
like, notice how dnssec-tools.org didn't show up the second time? π that's the whole point of -m, we'll get there. π«Ά
π¦ DESCRIPTION π¦
the check-zone-exiration script reports how long until a zone will expire by querying for the zone's (top level) RRSIG and calculating how much time is left before the signatures will no longer be valid π₯ it will then report how much time is left in human readable form.
that's it. that's the girl. she queries the sigs, does the math, tells you "26 days, 2 hours, 16 minutes, 36 seconds" instead of some cursed epoch number. main character energy. π
if the -m switch is provided with a time argument (in seconds), it will only print output for zones that have less than that time left π so like, it stays quiet about the zones that are fine and only yells about the ones that are lowkey about to expire. selective attention, honestly iconic. π
π OPTIONS π
-mSTRING,--minimum-reporting=STRING β Minimum reporting time, or else be silent for the zone π€ so if a zone has more time left than STRING, she simply does not speak on it. periodt.
π COPYRIGHT π
Copyright 2012-2014 SPARTA, Inc. All rights reserved. See the COPYING file included with the DNSSEC-Tools package for details. π (yes bestie, the legal girlies were consulted, pls actually read the COPYING file.)
π AUTHOR π
Wes Hardaker, hardaker@tislabs.com β ty for the script king π«‘π
β SEE ALSO β
donuts(1)β yes that's really the name and yes I'm obsessed π©β¨
ngl the whole thing is one option deep. one. -m and that's it. we love a low-maintenance legend. π§ββοΈ
and that's the page! perl v5.44.0, dated 2026-10-17 β catch you on the next manpage, bestie ππΈπ¦
π¦ where this page comes from
- arch rolling: dnssec-tools 2.2.3-16 Β· BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms