sponsor Vim development Vim logo Vim Book Ad

UpdateDNSSerial : Update automatically the serial of DNS Zone

 script karma  Rating 31/12, Downloaded by 998  Comments, bugs, improvements  Vim wiki

created by
Alexandre MOREL
 
script type
utility
 
description
This script help you to update automatically the serial of SOA when editing a DNS zone with vim. It find the serial, increment or update with the current time as : YYYYMMDDNU where YYYY=year, MM: month, DD:day, NU:number version.
 
install details
Juste add the file in your .vim/plugin directory. To apply it on your file type :call UpdateDNSSerial() or add a shortcut in .vimrc.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
UpdateDNSSerial.vim 0.2 2011-06-13 7.0 Alexandre MOREL A new version of this vim script contributed by Wouter D'Haeseleer that use regex in order to match the serial DNS.
UpdateDNSSerial.vim 0.1 2008-11-16 6.0 Alexandre MOREL Initial upload
ip used for rating: 54.87.61.215

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
OSDN.net Logo