- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
API Query: Fetch TTL value
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2015 11:20 PM
Solved! Go to Solution.
In case the question isnt
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2015 08:32 PM
How to get the default TTL for a zone
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
https://gm.example.com/wapi/v2.1/zone_auth?fqdn=hq.example.com&_return_fields=soa_default_ttl,use_gr...
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 use_grid_zone_timer
is False
then the TTL value is inherited from the grid default TTL setting; if the value of use_grid_zone_timer
is 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).
Thank you so much Frank.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2015 09:47 PM