[Dnsmasq-discuss] dhcp-option 120, sip server, how?

H. S. hs.samix at gmail.com
Sat Nov 7 01:26:33 GMT 2009


Sorry for the earlier try which sent the post only to Simon (don't use
gmail very often, usually gmane newsgroup, and I am not familiar with
the behaviour of Reply option in gmail).


On Sun, Nov 1, 2009 at 4:41 PM, Simon Kelley <simon at thekelleys.org.uk> wrote:
> H.S. wrote:
>>
>> Hello,
>>
>> How do I specify dhcp-option 120 (for sip server) in my dnsmasq conf
>> file? I have tried:
>> dhcp-option:
>> dhcp-option=120,1,192.168.5.1
>>
>> but after searching the web have not verified if this is the correct
>> method (there are reports of specifying it in hex as well).
>>
>> Suggestions, please?
>>
>> Thanks.
>
> Current version of dnsmasq know about the peculiar format of option 120, so
> you can just do:
>
> dhcp-option=120,192.168.5.1
>
> or taking advantage of the fact that dnsmasq now knows the names of most
> options
>
> dhcp-option=option:sip,192.168.5.1
>
> finally, the name version of the SIP option is supported too:
>
> dhcp-option=option:sip,sipserver.mydomain.com
>

Thanks for this info, Simon. I will give this a shot and see how it goes.

Regards,
->HS



More information about the Dnsmasq-discuss mailing list