DNSVI(1)

πŸ“¦
version 1.5build1 Β· 2 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– DNSVI πŸ’–

okay bestie, welcome to dnsvi(1) β€” the manual page for dnsvi, and honestly? she's iconic. editing dynamic DNS zones with your fave editor?? it's giving main character energy, fr fr. let's get into it πŸŽ€


✨ NAME ✨

dnsvi β€” edit dynamic DNS zones using vi πŸ‘‘


🌸 SYNOPSIS 🌸

dnsvi [-igl] [-k keyfile] [-p port] [@nameserver] zone

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this: dnsvi is a frontend for nsupdate. you hand her a DNS zone name, and she goes and uses dig -t AXFR to pull every single record in that zone. then she spawns your favorite editor (yes, yours, we'll get to that) and when you're done editing, she builds up a whole list of "update add" and "update delete" statements and feeds them to nsupdate. slay. no cap. πŸ’…


⭐ OPTIONS ⭐

  • -i, --noidnout β€” bestie listen up: if you're updating a punycode domain and you're running bind9 >= 9.14.0, you need to specify -i to be able to update the zone. otherwise you'll end up with a mix of punycode and non-punycode domains, and nsupdate will straight up refuse. she's dramatic like that 😭
  • -l β€” use localhost as the nameserver and pass -l (local) to nsupdate. cozy local vibes 🏠
  • -k keyfile β€” use keyfile for AXFR and nsupdate. πŸ”‘
  • -g β€” use Kerberos credentials for nsupdate. see -g in nsupdate(1) for the deets, iykyk 🎫
  • -p port β€” use port for AXFR and nsupdate (default: 53). πŸ”Œ
  • @ nameserver β€” query nameserver for zone data and send updates there. πŸ“‘

🌈 ENVIRONMENT 🌈

  • EDITOR β€” the editor to use instead of sensible-editor. pick your fighter πŸ₯Š

πŸ’œ EXAMPLE πŸ’œ

 $ dnsvi -k dyn.df7cb.de.key @ns.df7cb.de dyn.df7cb.de
 [...vi...]
 nsupdate commands queued:
 server ns.df7cb.de
 zone dyn.df7cb.de
 update delete fermi.dyn.df7cb.de. IN A 127.0.0.1
 update add    lehmann.dyn.df7cb.de. 600 IN A 127.0.0.1
 update add    volta.dyn.df7cb.de. 2419200 IN SSHFP 3 1 DC66C1C5E9ED611FBDF0A9E1F701B1F8C38A6C1D
 send
 answer

 [S]end, [e]dit, send and edit [a]gain, [q]uit: [s]

look at her go. ate and left no crumbs πŸ“


🫢 SEE ALSO 🫢

dig(1), nsupdate(1).


πŸ‘‘ AUTHOR πŸ‘‘

Christoph Berg <myon@debian.org> β€” thank you for your service, legend 🫑


and that's the whole page, bestie!! written up as DNSVI(1) β€” no version number, no date, just pure manual-page perfection, the way it was always meant to be. go forth and update your zones πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from