Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
DNS zones seen by "csv_export/zone_auth" API call, but not by "allrecords" API call
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
1580     0
Hi, I am on the webserver infoblox.mycorp.net exporting all the authoritative zone objects for a view, using the API call
/wapi/v2.12/fileop?_function=csv_export { "_object":"zone_auth","view":"default"}
Here are two records returned:
header-authzone : authzone fqdn* : mycorp.net zone_format* : FORWARD allow_update : Any/ALLOW create_underscore_zones : TRUE disable_forwarding : FALSE disabled : FALSE enable_fixed_rrset_order : FALSE is_multimaster : FALSE zone_type : Authoritative
header-authzone : authzone fqdn* : subnet.mycorp.net zone_format* : FORWARD allow_update : DDNS create_underscore_zones : FALSE disable_forwarding : TRUE disabled : FALSE enable_fixed_rrset_order : FALSE is_multimaster : FALSE zone_type : Authoritative
However, when I issue the API calls
/wapi/v2.12/allrecords?zone=mycorp.net /wapi/v2.12/allrecords?zone=subnet.mycorp.net
I get the response
{ "Error": "AdmConDataNotFoundError: Zone [subnet.]mycorp.net not found", "code": "Client.Ibap.Data.NotFound", "text": "Zone [subnet.]mycorp.net not found" }
I see DNS entries through the UI (Infoblox Grid Manager 9.0.4), why won't the API reveal them?
Re: DNS zones seen by "csv_export/zone_auth" API call, but not by "allrecords" A
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
1581     0
I had to add "&view=default" to the URLs.
This was frustrating because on another Infoblox appliance, the "view" parameter was optional and here it's required.
I hope this helps someone else.