Autoicrement the serial in bind zone files
четвъртък, септември 2nd, 2010Argh. 30+ zone files and I have to increment all numbers by hand…no way.
Usage: ./inc.rb in the current directory with all db files.
#!/usr/bin/ruby
Dir.glob("*.db") do |file_name|
new_zone = [] (още...)