Skip to content

aetherbird/bind-load-zone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

bind-load-zone.sh

This script can be used to increment, sign and reload a domain in BIND 9. It can take a signed or unsigned domain as an argument, and will handle it appropriately.
Written and tested on Debian 9-12.

The script does the following:

  1. Increments the serial of the domain's zone file
  2. Checks if the domain is signed by looking in $BINDZONECONF
  3. Re-signs the domain (if it was previously signed)
  4. Reloads BIND for the domain (rndc reload [DOMAIN])

About

A bash script to sign DNS keys and reload zones in BIND

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages