Mercurial > code > home > repos > infra
comparison dns.py @ 319:2e6dbebb2cb3
open more dhcp addrs
author | drewp@bigasterisk.com |
---|---|
date | Wed, 16 Oct 2024 20:47:19 -0700 |
parents | 2136320eb94d |
children | 11d3bcedb9f0 |
comparison
equal
deleted
inserted
replaced
318:2136320eb94d | 319:2e6dbebb2cb3 |
---|---|
106 if host.name == 'pipe': | 106 if host.name == 'pipe': |
107 rpi_net_boot() | 107 rpi_net_boot() |
108 files.directory(path='/opt/dnsmasq') | 108 files.directory(path='/opt/dnsmasq') |
109 dnsmasq_instance('10.2', | 109 dnsmasq_instance('10.2', |
110 house_iface='eth1', | 110 house_iface='eth1', |
111 dhcp_range='10.2.0.110,10.2.0.199', | 111 dhcp_range='10.2.0.110,10.2.0.240', |
112 listen_address='10.2.0.3', | 112 listen_address='10.2.0.3', |
113 dhcp_hosts_filename='templates/dnsmasq/dhcp_hosts.j2') | 113 dhcp_hosts_filename='templates/dnsmasq/dhcp_hosts.j2') |
114 out = '/opt/dnsmasq/10.2' | 114 out = '/opt/dnsmasq/10.2' |
115 # This mtail is for dhcp command counts and errors. | 115 # This mtail is for dhcp command counts and errors. |
116 files.put(src='files/dnsmasq/metrics.mtail', dest=f'{out}/metrics.mtail') | 116 files.put(src='files/dnsmasq/metrics.mtail', dest=f'{out}/metrics.mtail') |