Dhcp-option=6

I would like to be able to point clients to a second device also running PiHole for dhcp ie use dhcp-option=6

Everything works perfectly until I put:
dhcp-option=6,XXX,XXX,XXX,XXX XXX,XXX,XXX,XXX
in either
/etc/dnsmasq.d/06-option.conf
or
/etc/dnsmasq.d/02-pihole-dhcp.conf

In either of these cases FLT stops working

Is there a way of doing this?

BTW I am running PiHole (successfully!) in a VM.

Ok the command seems to be sensitive to spaces this has worked for me:

sudo nano /etc/dnsmasq.d/06-pihole-dhcp.conf

Then paste this with the XXX replaced by the ip addresses.

dhcp-option=6, xxx.xxx.xxx.xxx, xxx.xxx.xxx.xxx

The spaces and the commas are significant.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.