Forum Discussion
Guru21_235734
Nimbostratus
Nov 26, 2015iControl REST (11.6): REST API for clearing DNS cache
I am trying to clear DNS cache using iControl REST apis, but i couldn't find any. I can get information about DNS cache using following REST api.
GET
https://localhost/mgmt/tm/ltm/dns/cache/resolver
GET https://localhost/mgmt/tm/ltm/dns/cache/transparent
GET https://localhost/mgmt/tm/ltm/dns/cache/validating-resolver
Using above apis, I can get information about the added DNS caches, but there is no way to clear these. On UI, we need to go to the statistics page to clear the cache, but again there is no way to check statistics using REST.
I have also figured out tmsh common for clearing DNS cache, which is delete
ltm dns cache records rrset cache
. Now I am trying to convert this command into REST api which is unfortunately not working. I tried following:
DELETE
https://localhost/mgmt/tm/ltm/dns/cache/records/rrset?options=cache+DNS_Cache_name
Could somebody help me out to clear DNS Cache using iControl REST?
No RepliesBe the first to reply
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects