diff --git a/convenient.js b/convenient.js index 837629a..81c6900 100644 --- a/convenient.js +++ b/convenient.js @@ -4,7 +4,7 @@ require('defaultable')(module, { 'convenient' : true - , 'ttl' : 3600 + , 'ttl' : 10 }, function(module, exports, DEFS, require) { function noop() {} @@ -84,12 +84,6 @@ function final_response(res, value) { function well_formed_record(record) { record.class = record.class || 'IN' - - var zone_minimum = DEFS.ttl - if(soa_record) - zone_minimum = soa_record.data.ttl - - record.ttl = Math.max(record.ttl || 0, zone_minimum) } }