A collection of Infoblox NIOS scripts built on the ibx-sdk library—covering DNS records, grid operations, security (ADP/RPZ), and SSH utilities.
nios-ibx-sdk provides a suite of Python scripts designed to simplify management and automation of Infoblox NIOS environments.
It extends the capabilities of the ibx-sdk library and includes helpers for DNS, DHCP, Grid operations, ADP, RPZ, and direct SSH-based workflows.
- DNS record management: A, PTR, CNAME, MX
- Grid automation workflows: pre-provisioning, lab building
- Security tooling for ADP (profiles, implementation, stats) and RPZ
- SSH utilities for NIOS member interactions
- Shared helper frameworks for consistent scripting
operations/— DNS & Grid scriptssecurity/— ADP & RPZ utilitiesssh/— SSH wrappers and helpers
- Python 3.13+
- ibx-sdk from Infoblox-PS
Install dependencies:
python3 -m venv venv
source venv/bin/activate
pip install "git+https://github.com/Infoblox-PS/ibx-sdk.git"git clone https://github.com/mragusa/nios-ibx-sdk.git
cd nios-ibx-sdk
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txtAuthentication and connectivity details for ibx-sdk should be set via environment variables or config files.
Avoid embedding credentials in scripts.
All tools support --help.
A Records
python operations/nios_a.py --help
python operations/nios_a.py get --fqdn example.com
python operations/nios_a.py add --fqdn host.example.com --ip 192.168.1.10
python operations/nios_a.py delete --fqdn oldhost.example.comPTR, CNAME, MX
python operations/nios_ptr.py --help
python operations/nios_cname.py --help
python operations/nios_mx.py --helpGrid Pre-Provisioning
python operations/nios_preprovision.py --helpBuild Lab Environment
python operations/nios_buildlab.py --helppython security/nios_adp_profile.py --help
python security/nios_adp_implementation.py --help
python security/nios_adp_stats.py --helppython security/nios_rpz_a.py --helpThe ssh/ directory includes helpers for issuing commands across NIOS devices when API access is insufficient.
ibx-sdk-framework.py— shared API functionsnios-ssh-framework.py— SSH connection utilities
These modules reduce boilerplate and provide consistent structure across scripts.
MIT License — see LICENSE file.
- Infoblox NIOS Documentation
- ibx-sdk GitHub Repository