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.

Cloud

Reply

Infoblox REST API get A record parameters ?

New Member
Posts: 1
5728     0

Trying to get specific A record ,

curl --location --request GET 'https://10.10.10.10/wapi/v2.10.3/record:a'

but not sure what parameters to use in order to get a specific record by name, not all records

Re: Infoblox REST API get A record parameters ?

Adviser
Posts: 181
5729     0

Hi,

 

You can filter by a specific name using the following WAPI call:

curl --location --request GET 'https://10.10.10.10/wapi/v2.10.3/record:a?name=test.sample.com'

Hope this helps,

Krishna

Re: Infoblox REST API get A record parameters ?

[ Edited ]
Authority
Posts: 17
5729     0

Hi,

Try this to create and view objects.

Create a resource record A

curl -k1 -u user: password -X POST https://GMip/wapi/v2.10.5/record:a -d ipv4addr=10.1.10.20 -d name=www.zonename

 

View all records within a specific zone

 

curl -k1 -u user: password -X GET https://GMip/wapi/v2.10.5/allrecords?zone=zonename

 

 

Note: WAPI 2.10.5

 

Thank you.

Showing results for 
Search instead for 
Did you mean: 

Recommended for You