Skip to content

delta1/dnsfmt

 
 

Repository files navigation

Opiniated DNS zone file formatter

This tools (re)formats zone files keeping comments and $-pragmas intact. It does remove in-RR comments, i.e '; serial' and friends, although for SOA records these get added back.

Builds up-on: https://github.com/bwesterb/go-zonefile which is butchered and vendored in ./zonefile. (Only needed half of the functionality and comments weren't fleshed out.)

dnsfmt is a filter. See dnsfmt.1.md for more information.

asciicast

About

Auto format DNS zone files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 93.0%
  • Roff 6.8%
  • Makefile 0.2%