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

18 lines
534 B
Plaintext
Raw Normal View History

2021-09-23 09:13:04 +00:00
interface={{ interface }}
listen-address= {{ ip }}
bind-interfaces
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 }}
2021-09-24 06:09:59 +00:00
dhcp-option=66,{{ ip }}
2021-09-23 10:28:25 +00:00
enable-tftp
tftp-root=/srv/tftpboot
2021-09-24 06:09:59 +00:00
dhcp-match=set:efi-x86_64,option:client-arch,7
dhcp-match=set:efi-x86_64,option:client-arch,9
dhcp-match=set:efi-x86,option:client-arch,6
dhcp-match=set:bios,option:client-arch,0
dhcp-boot=tag:efi-x86_64,bootx64.efi
dhcp-boot=tag:efi-x86,syslinux.efi
dhcp-boot=tag:bios,pxelinux.0