opendkim-genzone(8)
π NAME π
opendkim-genzone β the DKIM public key zone file generation tool, and yes bestie it does exactly what it says on the tin β¨
So this page? It's from the opendkim-genzone(8) corner of the System Manager's Manual, and it's about to be your new fave. Let's go π
πΈ SYNOPSIS πΈ
opendkim-genzone [-C address] [-d domain] [-D] [-E secs] [-F] [-N
ns[,...]] [-o file] [-r secs] [-R secs] [-s] [-S] [-t secs] [-T secs]
[-u] [-v] [-x conffile] [dataset]
Like, look at all those flags. She's got range π
π¦ DESCRIPTION π¦
okay so opendkim-genzone generates a file that's suitable for use with named(8) so you can publish a whole set of public keys. It's giving "here's your zone file, go be iconic" β¨
The dataset parameter should specify a set of data as described in the opendkim(8) man page. rn it can refer to flat files, Sleepycat databases, comma-separated lists, LDAP directories, or SQL databases β so many vibes, all valid π«Ά
You can literally omit the dataset if you specify a configuration file (via the -x command line flag) that refers to a config file setting a KeyTable parameter β in that case, that value gets used instead. Convenient? Extremely. π
The database contents should be formatted as described for the KeyTable parameter, which is described in the opendkim.conf(5) man page. iykyk π
β¨ OPTIONS β¨
-Ccontact β Uses contact as the contact information when an SOA record gets generated (peep-Sbelow π). If you don't specify it, the userid of the executing user plus the local hostname get used; and if the executing user can't be determined,"hostmaster"is used instead. fallback queen π-ddomain β Restricts output to only those records where the domain field is the specified domain. filter that feed bestie π-Dβ Adds a"._domainkey"suffix to selector names in the zone file. cute lil suffix, no cap π-Esecs β When generating an SOA record (see-Sbelow), use secs as the default record expiration time. The default is604800. β³-Fβ Adds a"._domainkey"suffix and the domainname to selector names in the zone file. she does the most, and we love her for it π-Nnslist β Specifies a comma-separated list of nameservers, which get output in NS records before the TXT records. The first nameserver in this list is also used in the SOA record (if-Sis also specified) as the authority hostname. main character nameserver energy π-ofile β Sends output to the named file instead of standard output. file it away bestie ποΈ-rsecs β When generating an SOA record (see-Sbelow), use secs as the zone refresh time. The default is10800. π-Rsecs β When generating an SOA record (see-Sbelow), use secs as the zone retry time. The default is1800. π-sβ Extends the logic of"-d"to include subdomains. she goes deeper π-Sβ Asks for an SOA record to be generated at the top of the output. The content of this output can be controlled using the-E,-r,-R, and-Toptions. The serial number gets generated based on the current time of day. clock-based serial, iconic behavior β°-tttl β Puts a TTL (time-to-live) value of ttl on all records output. The units are in seconds. β±οΈ-Tsecs β When generating an SOA record (see-Sbelow), use secs as the default record TTL time. The default is86400. π-uβ Produces output suitable for use as input tonsupdate(8). pipeline realness π₯-vβ Increases the verbosity of debugging output written to standard error. give me the tea β-xconffile β Names anopendkim.conf(5)file to be read for LDAP-specific parameters when an LDAP dataset is given on the command line. Not required for other dataset types. The default is/etc/opendkim/opendkim.conf. default path slay π
π VERSION π
This man page covers the version of opendkim-genzone that shipped with version 2.11.0 of OpenDKIM. periodt π
π§ COPYRIGHT π§
Copyright (c) 2010, 2012, 2014, 2015, The Trusted Domain Project. All rights reserved. π«Ά
β SEE ALSO β
nsupdate(8), opendkim(8), opendkim.conf(5) β go read these next, bestie, they're all part of the lore π
okay that's the whole page, no detail left behind, we ate and left no crumbs π β¨
πΈ big kiss from The Trusted Domain Project β this was opendkim-genzone(8) from version 2.11.0, mwah ππ
π¦ where this page comes from
- arch rolling: opendkim 2.11.0beta2-1 Β· BSD AND custom:Sendmail
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms