Modify TTL of all /var/named .db files all at once?

I tried to use perl -pi.bak -e "s/900/14400/g" *.db to revert back from a change I made to switch IP's a week after.

After running all commands, it seems like some zone files got "14400" on the SERIAL of the db, where should be 900.

Is my command wrong? or any-other ways to change it without affecting any serial's ?

Thanks

 

 

 

 

Top