Created
December 7, 2016 08:03
-
-
Save dijeesh/2aaaba26f83868e1a913f886ffdcdc39 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cd /var/named | |
| sed -i 's/20[0-9][0-9]\{7\}/2016120701/g’ *.db | |
| This will set Serial Numbers for all zones to : 2016120701 [ YYYYMMDDNN ] | |
| Take a backup of named directory before updating serial numbers. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment