netbox-powerdns-integration
CommunityAutomate DNS with NetBox & PowerDNS, you rest.
Authorbasher83
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill eliminates manual DNS record management and inconsistent infrastructure documentation by integrating NetBox as the single source of truth with PowerDNS. It automates IP address management, DNS record creation, and dynamic inventory for configuration management, drastically reducing human error and saving time.
Core Features & Use Cases
- Automated DNS Record Management: Automatically create A/AAAA and PTR records in PowerDNS when IPs are assigned in NetBox, using tags like
production-dns. - Infrastructure as Code (IaC): Manage NetBox resources (IPs, devices, VMs) via Terraform, ensuring your infrastructure documentation is always in sync with reality.
- Ansible Dynamic Inventory: Use NetBox as the real-time source for Ansible inventory, enabling tag-based host selection and automated configuration.
- Use Case: Provision a new VM using Terraform. This Skill ensures its IP is registered in NetBox, and automatically creates the corresponding DNS records in PowerDNS, making the VM immediately discoverable and ready for Ansible configuration.
Quick Start
Create VM in NetBox with auto-assigned IP
./tools/netbox_vm_create.py --name docker-02 --cluster matrix --vcpus 4 --memory 8192
Query NetBox API for devices
./tools/netbox_api_client.py devices get --name foxtrot
Validate DNS Naming Convention
./tools/validate_dns_naming.py --name "docker-01-nexus.spaceships.work"
Dependency Matrix
Required Modules
pynetboxinfisicalsdkrichtyper
Components
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: netbox-powerdns-integration Download link: https://github.com/basher83/lunar-claude/archive/main.zip#netbox-powerdns-integration Please download this .zip file, extract it, and install it in the .claude/skills/ directory.