[Dnsmasq-discuss] dhcp-option 0.0.0.0 address interpretation possible bug?
Simon Kelley
simon at thekelleys.org.uk
Thu Sep 10 22:13:08 BST 2015
On 10/09/15 10:39, Kevin Darbyshire-Bryant wrote:
> Hi All,
>
> dnsmasq 2.75
>
> Putting 'dhcp-option=ntp-server,0.0.0.0' in dnsmasq.conf is throwing an
> error "bad dhcp-option at line 73 of /etc/dnsmasq.conf" Replacing it
> with 'dhcp-option=42,0.0.0.0' allows dnsmasq to start and behave
> properly. I've noticed similar behaviour with 'netbios-ns' (option 44)
> The manpage states "special address 0.0.0.0 is taken to mean the address
> of the machine running dnsmasq".
>
> dhcpv6 options don't throw an error when using text versions of dhcpv6
> options and special addresses (::, fe80::, fd00::) so I assume they're
> okay but haven't checked the addresses contained in dhcpv6 replies yet.
>
> I'm adopting my usual stance of assuming I'm an idiot and doing
> something wrong....await education :-)
You've got the syntax wrong, it should be
dhcp-option=option:ntp-server,0.0.0.0
Cheers,
Simon.
>
> Kevin
>
>
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
More information about the Dnsmasq-discuss
mailing list