- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
domains managment - reporting
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-13-2016 06:31 PM
Hi,
How do i do the reporting on how many domains that the grid master is being secondary, and what are they? are there any tools for something like this?
Thanks
AQ
Solved! Go to Solution.
Re: domains managment - reporting
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-14-2016 07:11 AM
You have a few options here. You could go into the UI and find information about the zones via the Data Management > DNS > Members tab. You could also download a copy of the zone file and search for the number of instances of "secondary". You could use the API to create a list and count how many there are in this configuration. You could also extract the data to CSV file and count the zones via Excel.
There may be a few additional methods as well but these are likely the easiest.
Re: domains managment - reporting
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-21-2016 04:15 AM
I have a lot a lot of zones and subzones in both internal and external view. it is not good idea to find out per each zone by UI neither from a zone searching for "secondary". using the API or extracting the data to CSV can you elaborate a bit more.
Re: domains managment - reporting
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-21-2016 11:45 AM - edited 01-21-2016 11:47 AM
For the CSV option, you could simple go to the Toolbar on the right hand side and notice near the bottom the option for a CSV Job Manager. Select that and a new pop-up window opens and you choose CSV Export. Create a new CSV Export job task and choose the type of data you want to export for offline review. Once you download the data, you'd open it in Excel or some other tool, process the data you need to change (delete all of the data you do NOT need to change), and then use the CSV Job Manager or CSV Import to put the modified data back into the system.
The CSV Job Manager will work across views so this is where the major value comes in for bulk manipulation across all logical data separators (DNS views and Network Views).
There are other forum posts that walk through using Perl and REST to query the Infoblox API for data. I suggest doing a quick search for those posts as they provide a variety of examples you can follow. The API documentation (again, right side of UI) has several examples as well to get you started. You'll have to write your own logic for the specific tasks you want to perform and the data you want to change but the GET (search) and PUT/POST (create/modify/delete) examples are provided.
In your case, you'll simple GET (search) for the zones and then loop through them to count them. You may have to get the list of zones and then GET more details on the zone to compare the specific field values for your targets. This can be complex depending on whether you're using Name Server Groups (general recommendation) or manually assigning the servers in each zone's properties.