LDAP2DNS(1)
β¨ ldap2dns β LDAP based DNS management system β¨
bestie. sit down. grab a strawberry π. today we're learning ldap2dns from the LDAP2DNS(1) manual, and honestly? it's giving lowkey genius.
π NAME π
ldap2dns β an LDAP based DNS management system. yes that's the whole name. iconic. no notes. π
π¦ SYNOPSIS π¦
ldap2dns[d] [-D binddn] [-b searchbase] [-o data|db] [-h host] [-p port]
[-w password] [-L[filename]] [-u numsecs] [-v[v]] [-V]
like, that's the whole vibe check right there. notice the little [d] at the end of ldap2dns β that's the daemon version and she's a whole different girlie. π
πΈ DESCRIPTION πΈ
okay so this manual page is a brief rundown of the ldap2dns commands. not the full lore, just the highlights. and fun fact: this page was written for the Debian GNU/Linux distribution because the original program does not have a manual page yet. so we're all just out here doing our best fr fr π
ldap2dns is an efficient, administration friendly way to maintain DNS information and distribute DNS records to multiple primary DNS servers running djbdns or BIND. multiple servers!! one source of truth!! the way that she just handles it?? obsessed. π₯
π OPTIONS π
a summary of commandline options is included below. so here's the menu, bestie, and we are reading the whole thing. π«Ά
-D binddnβ use the distinguished name binddn to bind to the LDAP directory. introducing yourself properly, as one does. β¨-w bindpasswdβ use bindpasswd as the password for simple authentication. it's the password. that's the whole thing. don't put it in your shell history though π-bβ use searchbase as the starting point for the search instead of the default. like, this is where you start digging. βοΈ-o dataβ generate a"data"file to be processed bytinydns-data. tiny little data file, big little job. π-o dbβ for each zone generate a"<zonename>.db"file to be used bynamed. one file per zone. organized. slay. π-L[filename]β print output in LDIF format for reimport. round-tripping, she's versatile. π-h hostβ hostname of LDAP server, defaults tolocalhost. she's home, she's local, she's right there. π-p portβ portnumber to connect to LDAP server, defaults to389. the classic door. πͺ-u numsecsβ update DNS data after numsecs. defaults to59if started as daemon.
β οΈ important notice: data.cdb is rewritten only after DNSserial in DNSzone is increased. like, do not come for her unless the serial moved. periodt. β
-e exec-cmdβ this command is executed afterldap2dnsregenerated its data files. post-glow-up hook. π-vβ run in verbose mode. she's talking now. π£οΈ-vvβ run in even more verbose mode. she's talking A LOT now. ππ¬-Vβ print version and exit. just the receipts, then she's gone. π
π ENVIRONMENT π
env vars!! the invisible besties running the whole operation behind the scenes. π§
LDAP2DNS_UPDATEβ theLDAP2DNS_UPDATEenvironment variable sets the time interval in seconds to update DNS data. this variable is overridden by the-uoption.LDAP2DNS_OUTPUTβ specify the type of output. it may be set to'data'so that its output may be used bytinydns. it may be set to'db'so that its output may be used by'named'. this variable is overridden by the-ooption.TINYDNSDIRβ the root-directory used bytinydns, ie. the one in which totinydnsexpects its'data'-file.
π«§ FILES π«§
/etc/openldap/ldap.conf
options specified here fulfil the same purpose as for other ldap-tools. shared config, shared energy. π
π« SEE ALSO π«
ldap.conf(5), ldapsearch(1), tinydns, named.conf(5).
please visit the project homepage for more detail: [http://ldap2dns.tiscover.com/] π
π AUTHOR π
this manual page was written by Johann Botha <joe@blio.net>, for the Debian GNU/Linux system, and is distributed under the GPL version 2 or later.
Jacob Rief <jacob.rief@tiscover.com> is the original author of this program. the founding mother of the whole thing, respectfully. π
and that's the page, bestie!! written May 22, 2001, and it lives in the LDAP2DNS(1) manual β general commands, right where she belongs. go forth and manage those DNS records. you ate. π
β¨ππ¦
π¦ where this page comes from
- debian bookworm: ldap2dns 0.3.1-5 Β· GPL-2.0-or-later
- debian trixie: ldap2dns 0.3.1-6+b1 Β· GPL-2.0-or-later
- ubuntu noble: ldap2dns 0.3.1-5build1 Β· GPL-2.0-or-later
- ubuntu questing: ldap2dns 0.3.1-6
- ubuntu resolute: ldap2dns 0.3.1-6build1 Β· GPL-2.0-or-later
- ubuntu stonking: ldap2dns 0.3.1-8 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms