Primary (on copper, a VM on lithium):
Secondary (on zinc, a Raspberry Pi):
Resolver IPs 10.38.42.2 and 10.38.38.2 are published via DHCP as our local DNS servers. Our local domains are forwarded to the authoritative servers.
A script is run on each server to pull data from Netbox and use it to generate DHCP configurations. On the primary, an additional script configures static DNS records from Netbox data.
Both DHCP daemons call a web service on the primary to notify of leases. This inserts hostnames into the primary DNS.
Salt was used to configure these services. It does not run automatically, so changes may be made manually if there is a fault.