Maybe you shoud specify the unit for `$ttl` here.