Make http://www.vim.org/scripts/script.php?script_id=2445 compatible with vundle/pathogen/Plug and some small changes
Add
Plug 'f-breidenstein/bind-serialupdater'
to your ~/.vimrc or ~/.config/nvim/init.vim and call ":PlugInstall"
Your serial should be formated in the format YYYYMMDD## where:
- YYYY is the year
- MM is the month
- DD is the day and
To update the serial of a currently opened zonefile just execute
:call UpdateDNSSerial()
or add a shortcut to your .vimrc like this to bind the function to F6
map <F6> :call UpdateDNSSerialZone()<CR>