#bind-interfaces server=1.1.1.1 server=1.0.0.1 domain-needed bogus-priv #dhcp-range dhcp-range={{ pillar['network']['interface'] }},{{ pillar['network']['ip'][0:-1] }}50,{{ pillar['network']['ip'][0:-1] }}150,12h dhcp-range={{ pillar['network']['wireless'] }},{{ pillar['network']['ip'][0:-1] }}50,{{ pillar['network']['ip'][0:-1] }}150,12h {% for vlan in pillar['network']['vlan'] -%} dhcp-range={{ pillar['network']['interface'] }}.{{ vlan['id'] }},{{ vlan['address'][0:-1] }}50,{{ vlan['address'][0:-1] }}150,12h {% endfor %} #gateway dhcp-option={{ pillar['network']['interface'] }},3,{{ pillar['network']['ip'] }} dhcp-option={{ pillar['network']['wireless'] }},3,{{ pillar['network']['ip'] }} {% for vlan in pillar['network']['vlan'] -%} dhcp-option={{ pillar['network']['interface'] }}.{{ vlan['id'] }},3,{{ vlan['address'] }} {% endfor %} # dns-server dhcp-option={{ pillar['network']['interface'] }},6,{{ pillar['network']['ip'] }} dhcp-option={{ pillar['network']['wireless'] }},6,{{ pillar['network']['ip'] }} {% for vlan in pillar['network']['vlan'] -%} dhcp-option={{ pillar['network']['interface'] }}.{{ vlan['id'] }},6,{{ vlan['address'] }} {% endfor %} #ntp dhcp-option={{ pillar['network']['interface'] }},option:ntp-server,{{ pillar['network']['ip'] }} dhcp-option={{ pillar['network']['wireless'] }},option:ntp-server,{{ pillar['network']['ip'] }} {% for vlan in pillar['network']['vlan'] -%} dhcp-option={{ pillar['network']['interface'] }}.{{ vlan['id'] }},option:ntp-server,{{ vlan['address'] }} {% endfor %} #PXE dhcp-option={{ pillar['network']['interface'] }},66,{{ pillar['network']['ip'] }} dhcp-option={{ pillar['network']['wireless'] }},66,{{ pillar['network']['ip'] }} {% for vlan in pillar['network']['vlan'] -%} dhcp-option={{ pillar['network']['interface'] }}.{{ vlan['id'] }},66,{{ vlan['address'] }} {% endfor %} enable-tftp tftp-root=/srv/tftpboot 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