- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Searching record:a using ipv4addr
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2018 07:20 AM
Hi,
I have problem to search using the field ipv4addr... it works fine if I use de the field name...
curl -k -H "Content-type: application/json" -X GET -u "XXX:XXXX" "https://Y.Y.Y.Y/wapi/v2.7/record:a" -d '{"name": "uat2.ebanking.privatebanking.societegenerale.com" }'
[
{
"_ref": "record:a/ZG5zLmJpbmRfYSQuX2RlZmF1bHQuY29tLnNvY2lldGVnZW5lcmFsZS5wcml2YXRlYmFua2luZy5lYmFua2luZy51YXQyLCwyMDcuNDUuMjUyLjEyMw:uat2.ebanking.privatebanking.societegenerale.com/default",
"ipv4addr": "207.45.252.123",
"name": "uat2.ebanking.privatebanking.societegenerale.com",
"view": "default"
}
but if I try this :
curl -k -H "Content-type: application/json" -X GET -u "XXXX:XXXXX" "https://Y.Y.Y.Y/wapi/v2.7/record:a" -d '{"ipv4addr": "207.45.252.123" }'
{ "Error": "AdmConDataError: .com.infoblox.dns.bind_a has no member fqdn",
"code": "Client.Ibap.Data",
"text": ".com.infoblox.dns.bind_a has no member fqdn"
}
Do you how to do a rearch using field ipv4addr ?
Thanks in advance.
Re: Searching record:a using ipv4addr
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2018 07:38 AM - edited 12-24-2018 07:39 AM
I found the problem... it's due to DTC module... you have to add a value to the field "view" also.
best regards .