Learn How We Can Help You Keep Teleworkers Protected During the COVID-19 Crisis

DNS DHCP IPAM

Reply
Highlighted
Accepted Solution

domains managment - reporting

Techie
Posts: 2
6620     0

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

Highlighted

Re: domains managment - reporting

Adviser
Posts: 200
6620     0

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.

 

 

Highlighted

Re: domains managment - reporting

Techie
Posts: 2
6620     0

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.

 

Highlighted

Re: domains managment - reporting

[ Edited ]
Adviser
Posts: 200
6620     0

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.

Showing results for 
Search instead for 
Do you mean 

Recommended for You