Introducing SOC Insights for BloxOne Threat Defense: Boost your SOC efficiency with AI-driven insights to eliminate manual work and accelerate investigation and response times. Read the blog announcement here.

API Examples


GET request for retrieving A records within a network range

New Member
Posts: 1
165     0

Hello, I am looking for an API call that will return all of the A records and Host records within a network range. The goal is to retrieve all of the records within a Network. For example, if we already have the network built in Infoblox, and we have 100 records within that network, I am looking to use a GET to retrieve all of those records. I am unable to find a request that would perform this within the wapidoc


Thank you 

Re: GET request for retrieving A records within a network range

Posts: 289
166     0

Generally A & HOST records are owned by the zone they belong to, not the network.  But you can take the IPAM approach, and search for any USED IP addresses, which will return any objects assocated with those IP addresses. 

This request:

curl -k -u admin:infoblox -H "Content-Type: application/json" \
-X POST '' -d \
    "data": {
      "network": "",
      "network_view": "default",
      "status": "USED"

Will return lots of IP address entries, including any associated DNS records:

		"_ref": "ipv4address/Li5pcHY0X2FkZHJlc3MkMTkyLjE2OC45LjIxNi8w:",
		"ip_address": "",
		"is_conflict": true,
		"mac_address": "",
		"names": [
		"network": "",
		"network_view": "default",
		"objects": [
		"status": "USED",
		"types": [
		"usage": [
Showing results for 
Search instead for 
Did you mean: 

Recommended for You