TTL record changes in All domains

Adam Tkac atkac at
Tue Jul 17 10:42:04 UTC 2007

Mohamed Navas V napsal(a):
> Hi list,
> I am managing multiple domains in our setup. As plan of one migration
> we are proposed to change the TTL values in all domains.
> Pls inform any tools or mechanism to make this changes in all domains.
> thanks in Advance,
I don't know about any utility but I think you could write simple bash 
script (something like this example)

for zone in `find zones`; do
  cat "${zone}" | sed 's/$TTL.*/$TTL 2D/' > "${zone}.new"
  mv "${zone}.new" "${zone}"


More information about the bind-users mailing list