DRAWVALMAP(1)
β¨ DRAWVALMAP β¨
okay bestie, welcome to the drawvalmap page π this one lives in the User Contributed Perl Documentation section of the manual (section 1, for the record π), and it's literally the glow-up your validation logs have been begging for.
π NAME π
drawvalmap β generates a graphical output of the validation status values that the validator library runs into. no cap, it turns your boring log soup into a picture π
π¦ SYNOPSIS π¦
drawvalmap <logfile>
drawvalmap
that's it. that's the whole vibe. β¨
π DESCRIPTION π
so drawvalmap is a simple little utility that shows off the validator status values in a graphical format. the input? a set of log messages, which it can read either from a file or from a socket. the output? an image file containing a picture of all the various validator authentication chain status values. it's giving data visualization but make it adorable π«Ά
if you don't give it a logfile and you don't turn on the socket option, drawvalmap just reads data from STDIN. easy.
and if you pass the -f option, the output image file gets embedded in an HTML file with whatever name you gave. that HTML file auto-refreshes based on the refresh time you supply with the -r option, so you can sit there and watch your validator graph change in real time. main character energy fr fr π₯
the typical usage of this script is like this:
# drawvalmap <logfile>
and ngl, using it for troubleshooting is super common β in that case you'd "pipe" the output from a driver program straight into this script, like so:
# dt-validate -o6:stdout secure.example.com. | drawvalmap -f val_log_map.html
in both cases the script drops its results into a val_log_map.png file. in the second case, you also get an HTML file named val_log_map.html. two for one, slay π
π OPTIONS π
-aIP-address β changes the address thatdrawvalmapbinds itself to, setting it to the value you gave. heads up though: this option only takes effect if you also specified the-soption. it's a package deal bestie π-ffile.ext β creates an image of the type determined by the file extension. yes, the extension picks the format. iconic behavior β¨-gxxxx β (deprecated) use-finstead. she's retired, let her rest π-hfile.html β creates an HTML file with the given name, and that file contains the image of the validation map. cute AND functional πΈ-iignore_pattern_string β makesdrawvalmapignore any log records that match the ignore pattern you gave. bye girl, not today π-llog_event1,log_event2 β enables display of events for the list of log types you pass in. here are the log event types that are defined, with their default enabled status chillin' in the parentheses:SUCCESS(1),BOGUS(1),DATA_MISSING(1),ERROR(1), andIGNORED(0). so four of them are on by default andIGNOREDis... not π-mmatch_pattern_string β includes only the log records that match the given pattern. but plot twist: if a log record matches both the pattern from-mand the pattern from-i, the effective result is that the record gets ignored. the ignore wins, periodt. π-pport β changes the port thatdrawvalmapbinds itself to, setting it to the value you gave. same deal as-a: this only takes effect if you also specified the-soption π-rrefresh-period β changes the refresh period in the HTML file to the given value. the default is5seconds. tick tock β-sβ switches the mode of operation so it reads input from a socket. the default address and port thatdrawvalmapbinds to are127.0.0.1:1053. iykyk π₯
π§ PRE-REQUISITES π§
GraphViz
that's the one and only requirement, bestie. go get it π«Ά
π COPYRIGHT π
Copyright 2005-2013 SPARTA, Inc. All rights reserved. see the COPYING file that comes included with the DNSSEC-Tools package for all the details. legal girlies stay winning π
πΈ AUTHOR πΈ
Suresh Krishnaswamy, hserus@users.sourceforge.net
π¦ SEE ALSO π¦
and that's the whole page, bestie π this was perl v5.42.0, dated 2025-07-23, straight out of the DRAWVALMAP(1) manual β go make some pretty graphs and hydrate!! πβ¨
π¦ where this page comes from
- fedora 43: dnssec-tools 2.2.3-30.fc43 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms