422 B
422 B
DNSMasq NetBox Updater
The NetBox updater service is designed to function as a simple web server, waiting for webhook calls from a NetBox instance. After receiving a GET /update-dnsmasq
API request, it queries NetBox, lists all defined IP addresses with DNS names, and creates a new /etc/dnsmasq.d/netbox.conf
file. This file defines all retrieved hosts as A
records. Then, the dnsmasq.service is restarted.