User Tools

Site Tools


dnsdhcp

This is an old revision of the document!


DNS and DHCP

Primary (on copper, a VM on lithium):

  • 10.38.42.2 - Resolver DNS (Unbound)
  • 10.38.42.5 - Master Authoritative DNS (PowerDNS with SQLite backend)
  • 10.38.42.5 - Master DHCP (ISC)

Secondary (on zinc, a Raspberry Pi):

  • 10.38.38.2 - Resolver DNS (Unbound)
  • 10.38.38.5 - Slave Authoritative DNS (PowerDNS with SQLite backend)
  • 10.38.38.5 - Slave DHCP (ISC)

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.

Configuration

Salt was used to configure these services. It does not run automatically, so changes may be made manually if there is a fault.

dnsdhcp.1499867826.txt.gz · Last modified: 2017-07-12 13:57 by tim

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki