tlu/salt/states/dnsmasq/files/dnsmasq.conf.jinja

12 lines
274 B
Plaintext
Raw Normal View History

2021-09-23 09:13:04 +00:00
interface={{ interface }}
listen-address= {{ ip }}
bind-interfaces
server=1.1.1.1
domain-needed
bogus-priv
dhcp-range={{ ip[0:-1] }}50,{{ ip[0:-1] }}150,12h
2021-09-23 10:28:25 +00:00
dhcp-option=option:ntp-server,192.168.0.4,{{ ip }}
enable-tftp
tftp-root=/srv/tftpboot
dhcp-boot=pxelinux/pxelinux.0