Infoblox’s global team of threat hunters uncovers a DNS operation with the ability to bypass traditional security measures and control the Great Firewall of China. Read about “Muddling Meerkat” and the many other threat actors discovered by Infoblox Threat Intel here.

API & Integration, DevOps,NetOps,SecOps

Reply

Ansible infoblox.nios_modules.nios_lookup limit of 1,000 records?

New Member
Posts: 5
947     2

I am using the infoblox.nios_modules.nios_lookup module to get all host records or all A records but both plays only return 1,000 items. I can not find anything about specifying a page size. Where is this limit being imposed and is there a way to over-ride it?

 

I am using this:

    - name: "fetch all A records"
      ansible.builtin.set_fact:
        a_records: "{{ lookup('infoblox.nios_modules.nios_lookup', 'record:a', provider=nios_provider) }}"

Re: Ansible infoblox.nios_modules.nios_lookup limit of 1,000 records?

New Member
Posts: 5
947     2

I found it. I needed to add the "max_results" variable to my providor or set "INFOBLOX_MAX_RESULTS" as an environmental variable.

Re: Ansible infoblox.nios_modules.nios_lookup limit of 1,000 records?

Superuser
Posts: 17
948     2

Thanks for sharing the solution. Cheers!

Showing results for 
Search instead for 
Did you mean: 

Recommended for You