Reply

Modify DNS Scavenging setting to enable last queried for resource record using API

New Member
Posts: 2
13043     0

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.

 

Retrive-ScavengingOptions.png

 

Enable_Last_queried.png

 

Regards,

Balaji

Re: Modify DNS Scavenging setting to enable last queried for resource record using API

Moderator
Moderator
Posts: 315
13044     0

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:

 

postman.png

Re: Modify DNS Scavenging setting to enable last queried for resource record using API

New Member
Posts: 1
13044     0

Hello Matt,

Thank you for your response..

 

It worked a treat! Smiley Happy

 

Solution.PNG

Showing results for 
Search instead for 
Did you mean: 

Recommended for You

Demo: Infoblox IPAM plug-in integration with OpenStack Newton