I'm working on fully moving from my router to Pi-Hole's own DHCP server. But one required feature is Dhcp option 66. This option allows devices to be redirected to our FreePBX server which will give our Voip phones its configuration.
My question is where and how do I set that up? I have looked in DHCP Advanced section but it is not there.
the file named '02-pihole-dhcp.conf' doesn't exist. There is a '01-pihole.conf' though. Should I go ahead and create a new one by using the file name that you suggested?
Thanks. But I don't need the dhcp-boot=pxelinux option because I want the IP phones to go to the FREEPBX server to grab their configurations instead of grabbing a boot file.
Do I use 10-ftp.conf in etc/dnsmasq.d/ , which I assume will be permanent (i.e. won't be deleted when the pi-hole DHCP server isn't used) ? If so, it would be a far better option because I am happier to keep using my router's DHCP server. Is my thinking right?
It's not possible to broadcast DHCP options from a server that is not managing the DHCP service. Just go ahead, enable Pi-hole's DHCP server and put your option 66 setting in some file like /etc/dnsmasq.d/66-option.conf