Reply
Highlighted
Accepted Solution

DNS_integrity_enable

cfedson
Techie
Posts: 5
3863     0

I am trying to update several dns entries through a script. When I run:

 

curl --tlsv1 --insecure --user userSmiley Tongueassword -H "Content-Type: application/json" -X PUT "https://10.0.0.1/wapi/v2.5/zone_auth/ZG5zLnpvbmUkLjMucHJpdi50ZXN0:test.priv/External?_return_fields=..." -d '{"dns_integrity_enable": true}'

 

I get the following error:

 

{ "Error": "AdmConDataError: None (IBDataConflictError: IB.Data.Conflict:Assign a member before enabling DNS Integrity Check for mtcnet.net.)",
"code": "Client.Ibap.Data.Conflict",
"text": "Assign a member before enabling DNS Integrity Check for test.priv."

 

But if I go in and manually set a member it will work without issue. How can I assign it to a member using the wapi?

 

We have about 3000 of these to do and would rather not have to do them manually.

 

Thank you

Re: DNS_integrity_enable

Adviser
Posts: 136
3864     0

Hello,

 

There is a dns_integrity_member parameter you can pass via the WAPI to assign the member for the integrity check.

 

Should look something like this:

 

-d '{"dns_integrity_enable": true, "dns_integrity_member": "membername"}'

 

where membername = the name of the Grid member you wish to associate.

 

Hope that helps!

Check out our new Tech docs website at http://docs.infobox.com for latest documentation on Infoblox products

Re: DNS_integrity_enable

cfedson
Techie
Posts: 5
3864     0

Thank you very much adding that in worked perfectly.

Showing results for 
Search instead for 
Do you mean 

Recommended for You