[Dnsmasq-discuss] Are dnsmasq's dhcp-option accumulative

Albert ARIBAUD albert.aribaud at free.fr
Tue Nov 25 06:10:38 GMT 2014


Hi T,

Le Tue, 25 Nov 2014 03:01:50 +0000 (UTC), T o n g
<mlist4suntong at yahoo.com> a écrit :

> Hi, 
> 
> Are dnsmasq's dhcp-option accumulative?
> 
> I notice the following two lines in different files from /etc/dnsmasq.d/
> dnsmasq.*.conf
> 
>   dhcp-option=option:router,192.168.2.1
>   dhcp-option=6,0.0.0.0
> 
> Are they one overwrite another or they are accumulative? I.e., if I put 
> in another file:
> 
>   dhcp-option=252,"http://192.168.1.2/wpad.dat"
> 
> All three will take effect at the same time, right? 

Yes, they all will. Mind you, if dhcp-option was not cumulative, you
could only pass one single option to clients.

> Thanks

Amicalement,
-- 
Albert.



More information about the Dnsmasq-discuss mailing list