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

H. S. hs.samix at gmail.com
Sat Nov 7 01:30:06 GMT 2009


On Sun, Nov 1, 2009 at 4:41 PM, Simon Kelley <simon at thekelleys.org.uk> wrote:

>
> Current version of dnsmasq know about the peculiar format of option 120, so
> you can just do:
>
> dhcp-option=120,192.168.5.1

dnsmasq had no problem with this. Yet to try with the Nokia phone.


>
> or taking advantage of the fact that dnsmasq now knows the names of most
> options
>
> dhcp-option=option:sip,192.168.5.1

dnsmasq barfed at this:
> sudo /etc/init.d/dnsmasq restart
Restarting DNS forwarder and DHCP server: dnsmasq
dnsmasq: bad dhcp-option at line 99 of /etc/dnsmasq.d/01-home-hosts.conf
 failed!


>
> finally, the name version of the SIP option is supported too:
>
> dhcp-option=option:sip,sipserver.mydomain.com

didn't try this.

BTW, does the IP address need to be a valid SIP server for the option
to be acceptable to dnsmasq?

Thanks.



More information about the Dnsmasq-discuss mailing list