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