06-09-2015 08:32 PM
06-10-2015 04:53 AM
My apologies for the delay in responding. To get the default TTL for a zone you can do a GET request for a URL like the following:
The corresponding curl command would be
curl --tlsv1 --insecure --user 'admin:infoblox' 'https://gm.example.com/wapi/v2.1/zone_auth?fqdn=hq.example.com&_return_fields=soa_default_ttl,use_gr...
The value of the
soa_default_ttl field is the TTL value that will be used by default for records in the zone. If the value of
False then the TTL value is inherited from the grid default TTL setting; if the value of
True then the grid default TTL value has been overridden and a TTL value set specifically for that zone.
Unlike in the Perl API, in the RESTful API there is no way to directly retrieve (or set) the grid default TTL value. There is a
grid:dns object that would be the obvious place to put a field for this, but there is no such field in the latest API version (2.1, for NIOS 7.1). If you'd like a way to do this, please work with your account manager and SE to have them submit a formal Request for Enhancement (RFE).