LDAP2DNS(1)

πŸ“¦
version 0.3.1 Β· 2 versions
  • 0.3.1 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 0.3.1 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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 by tinydns-data. tiny little data file, big little job. πŸ“
  • -o db β€” for each zone generate a "<zonename>.db" file to be used by named. 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 to localhost. she's home, she's local, she's right there. 🏠
  • -p port β€” portnumber to connect to LDAP server, defaults to 389. the classic door. πŸšͺ
  • -u numsecs β€” update DNS data after numsecs. defaults to 59 if 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 after ldap2dns regenerated 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 β€” the LDAP2DNS_UPDATE environment variable sets the time interval in seconds to update DNS data. this variable is overridden by the -u option.
  • LDAP2DNS_OUTPUT β€” specify the type of output. it may be set to 'data' so that its output may be used by tinydns. it may be set to 'db' so that its output may be used by 'named'. this variable is overridden by the -o option.
  • TINYDNSDIR β€” the root-directory used by tinydns, ie. the one in which to tinydns expects 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. πŸ’…βœ¨πŸŽ€πŸ¦‹