User Tools

Site Tools


scripting:updatesoa.sh

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
scripting:updatesoa.sh [2019-08-10 14:58] – old revision restored (2015-03-09 08:51) gabrielscripting:updatesoa.sh [2019-08-10 17:25] (current) – moving gitab note to top gabriel
Line 1: Line 1:
-====== updatesoa.sh - a simple script to update BIND SOA serial numbers ======+====== updatesoa.sh ====== 
 + 
 +//This script is now maintained on [[https://gitlab.com/gmobrien/updatesoa.sh|GitLab]] and no longer updated on this wiki.//
  
 I created this script as a simple reimplementation of a tool that I used in an old job.  It allows you to easily update the serial number for a DNS zone in an automated fashion avoiding errors. I created this script as a simple reimplementation of a tool that I used in an old job.  It allows you to easily update the serial number for a DNS zone in an automated fashion avoiding errors.
  
-It's best used in conjunction with an $INCLUDE statement in the zone file referencing a separate SOA file, especially if multiple zones exist on your server.  All that should be necessary to use it is to modify the SOA variable to point to your record or zone file and to ensure that the line that the serial number is on contains the string "Serial" as a comment (such as in the default zones that ship with BIND9 on [[Debian]]).  You may need to modify the $SOA path depending on how you have configured your zone(s).+It's best used in conjunction with an $INCLUDE statement in the zone file referencing a separate SOA file, especially if multiple zones exist on your server.  All that should be necessary to use it is to modify the SOA variable to point to your record or zone file and to ensure that the line that the serial number is on contains the string "Serial" as a comment (such as in the default zones that ship with BIND9 on [[debian:|Debian]]).  You may need to modify the $SOA path depending on how you have configured your zone(s).
  
 <code bash> <code bash>
scripting/updatesoa.sh.1565463539.txt.gz · Last modified: 2019-08-10 14:58 by gabriel