For zonefile generator, made TTL generation smarter