Move Ttl and MinTtl to config so it can be set