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

Reply

How to get Number of DNS records using Rest API

Member
Posts: 1
324     1

Hi Everyone,

I am using REST API to get the DNS records details from InfoBlox and below is the API I am using

https://{{grid_master}}/wapi/v2.7/record:host?_max_results=1000&_paging=1&_return_as_object=1

 

From the result returned I am using "next_page_id" field to make further calls to the API. The next api  calls looks like this

https://{{grid_master}}/wapi/v2.7/record:host?_max_results=1000&_paging=1&_return_as_object=1&_page_id=" + next_page_id 

 

Now my issue is I am unable to get the total DNS records present in the grid master via API, so that I can limit the number of calls I can make. Can anyone let me know how can I get the total number of DNS records present in the grid?

 

Thanks,

Sandeep

Showing results for 
Search instead for 
Did you mean: 

Recommended for You