1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/zerigo
Eric Hankins ef3bec5ade [Zerigo|DNS] Remove default 3600 TTL
Zerigo records and zones were setting a TTL of 3600 on the model if no
TTL was set in the response. On first glance this seems like A Good
Thing - yes we want a default TTL! However, it masks the fact that a
record might have no TTL set on it and is using the default TTL from the
zone. If you're trying to use the model to determine if the TTL is set
to some value (say 3600), but the value defaults to 3600 if it isn't
set, then you have no way of knowing if it's right or not.

This change forces you to set a TTL if you're performing an operation
that requires one (#save).
2013-05-10 11:14:54 -05:00
..
models/dns [Zerigo|DNS] Remove default 3600 TTL 2013-05-10 11:14:54 -05:00
parsers/dns [zerigo|dns] Fixed the parser. TTL and priority values can be nil and should not be coerced into integers in that case. 2012-02-10 11:21:34 -05:00
requests/dns Fixed #673: Zerigo DNS - update_host fails with some options 2011-12-22 15:38:08 -05:00
dns.rb Remove absolute path when requiring 2012-05-26 11:27:28 -04:00