Are you interested in our Early Access Program (EAP)? This program allows you to preview code, test in your lab and provide feedback prior to General Availability (GA) release of all Infoblox products. If so, please click the link here.

API & Integration, DevOps,NetOps,SecOps


Exclude DNS read-only view (AD) from API calls

Posts: 2
5866     0

Is there any way to exclude a specific DNS view from API calls? Exclude read-only data that's not directly on Infoblox ?


We've added a read-only AD view for delegated zones to a Microsoft server and now my API calls return data from that AD view, which I don't want/need as I can't do anything with it anyway.


My actual call looks like this: 



So the excluding view would look like something like this (I know I can't use '!', it's just an example of what I would like to do):



I know I could specify a view with my call with &view=view1 so the returned data will be only from that one view, but I'd rather not do that as it would mean making multiple calls (1 for each view) for something I used to do with one. I want my query to return everything that's on Infoblox, but only the data from the views that are actually on Infoblox.


If I can't exclude a view, maybe there's a way to query for multiple views in a single call?

Something like:



If all else fails I'll just sort the data on my end when it comes back but having only the needed data coming back would be better for me.


Thank you!

Re: Exclude DNS read-only view (AD) from API calls

Posts: 224
5867     0

Not directly, as the view search type is only an exact match. 


You could instead define an extensible attribute, give a value for all the MS zones, and then earch for zones that don't match that EA value.


Here's an example, for a network search:


Re: Exclude DNS read-only view (AD) from API calls

Posts: 2
5867     0

That's a great idea!


Thank you very much!

Showing results for 
Search instead for 
Did you mean: 

Recommended for You