For our local dev server, we routinely add and remove name alias records in our BIND/named server for our local network domain. I usually do this manually through Webmin, just out of convenience. But I do it so often it's annoying and I would imagine it could be automated.
Is there someway to do this easily from the command-line using bash scripts? Ultimately, I'm looking for a way to add, remove and rename name aliases to the server.
And I'm hoping for something a little better than grepping the bind config file and searching/replacing...