How to get DNS::Zone which are locked ?

Posts: 7
4203     0
Hi, I want to get all DNS::Zone which are locked. I try this : my @zone_locked = $session->get( object => "Infoblox:Smiley Very HappyNS::Zone", locked => "true" ); But it returns me all DNS::Zone (even those which are "false") . What is my error? Thanks,

Not all attributes are

Posts: 4
4204     0

Not all attributes are searchable so for this particular query, you'd have to pull the zones you want to interrogate and then loop through and inspect the locked status for each. The loop itself will be fairly rapid.

I adapted this solution, and

Posts: 7
4204     0
I adapted this solution, and it works. Thank you for your reply !
Showing results for 
Search instead for 
Did you mean: 

Recommended for You