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

Simon Kelley simon at thekelleys.org.uk
Sun Nov 1 21:41:44 GMT 2009


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


HTH

Simon.






More information about the Dnsmasq-discuss mailing list