- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Modify DNS Scavenging setting to enable last queried for resource record using API
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2023 12:06 PM
Hello
As part of DNS scavenging, I have requirement to 'Enable last queried time monitoring for resource records' for multiple DNS zones. Since Infoblox provide API, I would like to leverage it.
I am able to retrive the last queried setting information using 'zone_auth' method using API. But, when I tried using the method 'enable_rr_last_queried' in postman, received error as "Function dnsscavengingsetting is not valid for this object". Any example would be appriciated.
References:
https://ipam.illinois.edu/api/doc/blib/lib/Infoblox/Grid/DNS/ScavengingSetting.html
Attached screen print for reference.
Regards,
Balaji
Solved! Go to Solution.
Re: Modify DNS Scavenging setting to enable last queried for resource record using API
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2023 02:46 PM
That's the legacy perl api documentation,in order to use it you must be working in Perl, using the Infoblox Perl module.
you'll want to use the WAPI documentation for Web API work.
https://ipam.illinois.edu/wapidoc/
You should be sending this JSON data:
{ "scavenging_settings": { "enable_zone_last_queried": true } }
In Postman it will look like this:
Re: Modify DNS Scavenging setting to enable last queried for resource record using API
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2023 01:28 AM
Hello Matt,
Thank you for your response..
It worked a treat!