Reply

Searching record:a using ipv4addr

jcornaglia
Techie
Posts: 2
3545     0

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 ]
jcornaglia
Techie
Posts: 2
3546     0

I found the problem... it's due to DTC module... you have to add a value to the field "view" also.

 best regards .

Showing results for 
Search instead for 
Do you mean 

Recommended for You