Forum Discussion
kkara_240139
Nimbostratus
Feb 05, 2016How can I remove a DNS Cache Record Using F5 REST API
i want removing DNS old, invalid DNS cache records from F5 using REST API, but no resource or sample available. Using tmsh, it can be done within 3 commands like below; but we dont wanne use tmsh bec...
JRahm
Admin
Aug 16, 2016I can get all the different resource records from the rest interface like this:
/mgmt/tm/ltm/dns/cache/records/rrset?options=cache+/Common/mycache+type+aaaa
Except for "a" records, which errors out, so you might open a case on that. To remove them, you'll need the resource ID from that output, then you can just do a delete to here:
/mgmt/tm/ltm/dns/cache/records/rrset/~resource idHelp guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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