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.

API & Integration, DevOps,NetOps,SecOps

Reply

Getting Error while creating a record with next available IP function

Authority
Posts: 29
2747     0

Hi Team,

 

I want to add a new record with name=wapi.info.com with next avaialbleip function in my network view called="default.Testing". I am getting error that it doesnt match any unique network. I dont know how to proceed?

 

 

API call:

 

curl -k -u admin:infoblox -H 'content-type: application/json' -X POST "https://172.20.165.192/wapi/v2.7/record:host_return_fields%2B=name,network_view,ipv4addrs&_return_as... " -d '{"name":"wapi.info.com","view":"default.Testing","ipv4addrs":[{"ipv4addr":"func:nextavailableip:10.10.0.0/24"}]}'

 

 

Error:
"code": "Client.Ibap.Proto",
"text": "10.10.0.0/24 does not match any unique networks/ranges (ipv4addr)"

Re: Getting Error while creating a record with next available IP function

Authority
Posts: 14
2748     0

I believe this was just answered in your other post:

 

https://community.infoblox.com/t5/API-Integration/Add-host-in-a-network-with-next-available-IP-funct...

 

Thanks.

Jelle
Escalations Engineer EMEA
Showing results for 
Search instead for 
Did you mean: 

Recommended for You

Businesses are investing heavily into securing company resources from cyber-attacks form cybercrimin