Who Me Too'd this solution

Re: WAPI call for clearing DNS cache
Adviser
Posts: 109
This widget could not be displayed.
This widget could not be displayed.

The clear_dns_cache function for the WAPI was added starting in NIOS version 8.1. You can find details in the 2.6.0 WAPI guide which is available for download in the Tech Docs section on the Infoblox Support site (https://support.infoblox.com/).

 

For your reference:

 

curl -k -u admin:infoblox -X POST "https://10.60.27.235/wapi/v2.6/member:dns/ZG5zLm1lbWJlcl9kbnNfcHJvcGVydGllcyQw:infoblox.localdomain?_function=clear_dns_cache"

 

From the WAPI guide:

 

Function Calls

clear_dns_cache

This function is used to clear DNS cache. It clears the entire cache or removes one specified domain from the named
cache.
This function does not support multiple object matches when called as part of an atomic insertion operation.

Input fields
clear_full_tree ( Bool. ): Determines whether the function clears the given domain as well as all the names under it.
The default value is “False”.
domain ( String. ): The domain name to be cleared from the DNS cache. If no domain name is specified, then the
entire cache is cleared. The default value is “None”.
view ( String. ): The DNS view on which the operation is performed.

Output fields
None

View solution in original post

Who Me Too'd this solution