CONVERTAR(1)
π CONVERTAR(1) β the convertar page, but make it cute π
okay so bestie, buckle up: this is convertar, and yes she's from the Perl world (user contributed docs, we love to see it). she converts Trust Anchor Repositories from one format to another and she does it flawlessly. π
β¨ NAME β¨
convertar β converts trust anchor repositories from one format to another. that's the whole vibe. periodt.
π DESCRIPTION π
okay so here's what's going on: convertar operates on input and output files of different Trust Anchor Repository (TAR) formats. it figures out which file format you're talking about by looking at a "type:filename" spec. main character energy, honestly.
the way options work: you pass them to the convertar module using a / delimited specifier inside the type identifier. like this, bestie:
type/option=value/other=othervalue:filename
scroll down for the list of input and output formats that convertar understands by default and what options each one takes. π
also!! if you wanna write new plugins so convertar can understand other TAR formats (slay, we love an expandable queen), go read the Net::DNS::SEC::Tools::TrustAnchor module and its documentation. that's where the lore lives. π
πΈ EXAMPLES πΈ
this command reads in an itar.xml file (available from https://itar.iana.org/) and converts it into a file that BIND's named application can read. iconic behavior:
# convertar -i itar:itar.xml -o bind:bind.conf
and this one? this one reads in multiple files, merges them all together, and writes them out to two different output file formats at the same time (the libval format goes to stdout, as a treat):
# convertar -i itar:itar.xml,csv:local.csv -o bind:bind.conf,libval:-
multi-tasking queen fr fr. π¦
π§ FILE SPECIFICATION CONVENTIONS π§
types and files (e.g. for the -i and -o switches) are specified using this format, bestie:
type:/path/to/file
the type portion of the spec is what tells the internal module which one is gonna attempt to read in the file. the file portion? it may or may not be required (but the ':' always is, no cap) and it may or may not point to a real file, depending on which module is in charge of the content. some modules may, for example, load content from the network. living dangerously, we respect it.
for types that can read and write to a file, you can specify a '-' as the file to print to β or read from β standard output. π«Ά
file formats MAY be infered from a trailing suffix, if the trailing suffix. EG, if a referenced file is foo.csv then internally convertar will translate this to "csv:foo.csv". yes, it just knows. iykyk. β¨
π FILE FORMATS π
the following file formats are known by default to convertar:
bindβ a BIND name server (named) compatible trust anchor configuration file. you can include this within a masternamed.conffile using the"include"directive. π₯
the bind option can also take a /write_expectations=1 flag when writing, which writes out an options {} section that will turn on dnssec and require validation for zones from all the imported data.
E.G. bind/write_expectations=1:named.conf
secspiderβ this is merely an alias that fetches the specspider (http://secspider.cs.ucla.edu/) bind configuration file and then parses it using the bind file format.
β οΈ WARNING: the PGP signature on the downloaded file is NOT checked. not me trusting the internet π
csvβ a comma-separated list format. simple, clean, slays. πdumpβ a Perl hash dump format. this should be used mostly for debugging of newly developed modules, because it shows the internal hash structure that is passed between modules. peek behind the curtain, bestie. πitarβ IANA's itar format, which is an XML-based format of trust anchor keys. IANA's file is available from https://itar.iana.org/.
if you specify only a 'itar:' line only (or itar:URL), convertar will attempt to retrieve the current remote ITAR respository file directly. she'll go get it herself. π
β οΈ WARNING: the PGP signature on the downloaded file is NOT checked. again!! π
π NOTE: support for downloading the ITAR repository over the network requires the LWP::UserAgent module to be installed. no module, no download, that's the rule. π
libvalβ the libval format is the configuration file format that DNSSEC-Tool's libval library uses.
the libval option can also take a /write_expectations=1 flag when writing, to specify that the default (:) zone-security-expectation's should be populated to require validation of all the zones with imported data. all other zones will have a policy set to 'ignore.
E.G. libval/write_expectations=1:dnsval.conf
mfβ the master file (mf) format is also available from the itar web site. πdnsβ the dns format performs live queries of records attached to a domain name to request either DS or DNSKEY records. by default, DNSKEY records will be queried. the specific type to be queried can be specified by preceeding the zone name with a"ds/"or"dnskey/"prefix. here are example valid'dns:'type specifications, bestie:
dns:dnssec-tools.org
dns:ds/dnssec-tools.org
dns:dnskey/dnssec-tools.org
also, if you want to read dnskeys from the network but convert them to ds records, you can use the /tods flag:
dns/tods=1:dnssec-tools.org
the DNS type can not output records and is only useful for reading in information. she reads, she doesn't write, we stan a listener. π
β οΈ WARNING: the keys and data being retrieved are not internally validated and thus should not be trusted unless a secured resolver is being used. fr fr, don't trust it blindly. π
β OPTIONS β
-i STRING,--input-file=STRINGβ input file(s) to process.
convertar will read in the specified file(s). multiple files can be separated by commas. π«Ά
-o STRING,--output-file=STRINGβ output file(s) to write.
convertar will write out these specified file(s) in the requested output formats. multiple files can be separated by commas. yes, plural, go off. π₯
-h,--help,--help-fullβ displays command line help information. when in doubt, ask for help, bestie. π--gui,--no-guiβ controls the use of the optional GUI. it's optional, it's a GUI, it's giving choices. π
π COPYRIGHT π
Copyright 2009-2013 SPARTA, Inc. All rights reserved. see the COPYING file included with the DNSSEC-Tools package for details. legal queen behavior, we respect the paperwork. π
π AUTHOR π
Wes Hardaker < hardaker AT users DOT sourceforge DOT net > β the icon, the legend, the moment. π
π¦ SEE ALSO π¦
Net::DNS::SEC::Tools::TrustAnchor(3) β go read it, it's the whole plugin lore iykyk. π
aaaand that's the page!! mwah, go convert some trust anchors bestie πβ¨ β this masterpiece was served to you by perl v5.44.0 on 2026-10-17. π
π¦ 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