- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Infoblox REST API get A record parameters ?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2020 02:19 AM
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 ?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2020 07:26 AM
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 ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2020 09:38 AM - edited 10-22-2020 09:40 AM
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.