dnsdhcp
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
dnsdhcp [2017-07-17 10:27] – tim | dnsdhcp [2020-06-06 10:49] (current) – tim | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== DNS and DHCP ====== | + | Moved to [[sysadmin:dns_dhcp]]. |
- | + | ||
- | Primary (on //copper//, a VM on // | + | |
- | + | ||
- | * 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, | + | |
dnsdhcp.1500287272.txt.gz · Last modified: 2017-07-17 10:27 by tim