Introducing SOC Insights for BloxOne Threat Defense: Boost your SOC efficiency with AI-driven insights to eliminate manual work and accelerate investigation and response times. Read the blog announcement here.

API & Integration, DevOps,NetOps,SecOps

Reply

Ansible lookup zone data?

New Member
Posts: 5
603     1

I can lookup things like A records or AAAA records using a keyword like 'record:aaaa'. Is there a keyword I can use to lookup all of the DNS zones and how they are configured?

 

Here is an example of looking up a host record but I want to lookup all of the DNS zones

 

- name: get a host record
  ansible.builtin.set_fact:
    host: "{{ lookup('infoblox.nios_modules.nios_lookup', 'record:host', filter={'name': 'hostname.ansible.com'}) }}"

Re: Ansible lookup zone data?

New Member
Posts: 5
604     1

I have resorted to pulling the zone data from a csv export because I have a project that needs to be completed but it would still be nice to know if this is possible with Ansible and lookup.

Showing results for 
Search instead for 
Did you mean: 

Recommended for You