Infoblox’s global team of threat hunters uncovers a DNS operation with the ability to bypass traditional security measures and control the Great Firewall of China. Read about “Muddling Meerkat” and the many other threat actors discovered by Infoblox Threat Intel here.

API & Integration, DevOps,NetOps,SecOps


Retrieve all CNames from WAPI

Posts: 7
3876     0

I have seen several older posts about how to pull all records, but none of those seem to work.


I would like to pull all CName records from the WAPI. I'm using v2.5 of the API and Python v2.7.

Re: Retrieve all CNames from WAPI

Posts: 181
3876     0



Here is a sample code that you can use to query cname records:

import requests
requests.packages.urllib3.disable_warnings()  # Disable SSL warnings in requests #
url = ""
response = requests.request("GET", url, auth=('admin', 'infoblox'), verify=False)

Hope this helps,


Re: Retrieve all CNames from WAPI

Posts: 7
3876     0

Yes, this worked after I added &_max_results=xxxxxx to the end of the payload.


Thank you !!!

Showing results for 
Search instead for 
Did you mean: 

Recommended for You