Andriy Gapon
2017-05-10 13:32:25 UTC
It seems that present dnsmasq adds only vendor-specific option when it operates
on the proxy mode.
E.g., with a config that has
dhcp-range=192.168.0.88,proxy,255.255.255.0
dhcp-option=vendor:PXEClient,6,2b
dnsmasq adds option 43, suboption 6 to its responses.
But if I have
dhcp-range=192.168.0.88,proxy,255.255.255.0
dhcp-option=option:root-path,"192.168.0.200:/export/netboot"
then the root-path option is not set in the responses.
That's the case even if I use dhcp-option-force.
Is there any reason for this?
Could dnsmasq be changed to allow explicitly set options for proxy responses?
I think that that would add more flexibility for users who know what they are doing.
P.S.
I found this old conversation:
http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2012q2/005722.html
Looks like the situation hasn't changed since then.
on the proxy mode.
E.g., with a config that has
dhcp-range=192.168.0.88,proxy,255.255.255.0
dhcp-option=vendor:PXEClient,6,2b
dnsmasq adds option 43, suboption 6 to its responses.
But if I have
dhcp-range=192.168.0.88,proxy,255.255.255.0
dhcp-option=option:root-path,"192.168.0.200:/export/netboot"
then the root-path option is not set in the responses.
That's the case even if I use dhcp-option-force.
Is there any reason for this?
Could dnsmasq be changed to allow explicitly set options for proxy responses?
I think that that would add more flexibility for users who know what they are doing.
P.S.
I found this old conversation:
http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2012q2/005722.html
Looks like the situation hasn't changed since then.
--
Andriy Gapon
Andriy Gapon