THE GAME HAS CHANGED

Introducing Infoblox Universal DDI ManagementTM

Watch the launch to discover the new era of management for critical network services. Watch Now

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
2729     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: 312
2730     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