Add ttl support to cname in redis.