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 lookup zone data?

New Member
Posts: 5
724     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
725     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