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 & Integration, DevOps,NetOps,SecOps

Reply

How to find domainname and associated DNS RECORDS and DELETE in infoblox via REST API CALL

New Member
Posts: 1
2061     0

I am working on Server Decom Project and need help on find dns name of host and delete all the associated dns records matching to the hostname.

 

I have hostname in our request. Can anyone help on seuence on steps and REST API commands to execute?

Re: How to find domainname and associated DNS RECORDS and DELETE in infoblox via REST API CALL

Moderator
Moderator
Posts: 289
2062     0

You can use the search function.  This example will return all records that have the hostname host12345 followed by a periond:

 

curl -k1 -u admin:infoblox -X GET 'https://192.168.1.2/wapi/v2.11/search' -d 'fqdn:=host12345.'
Showing results for 
Search instead for 
Did you mean: 

Recommended for You

Businesses are investing heavily into securing company resources from cyber-attacks form cybercrimin