[Dnsmasq-discuss] dhcp-option 0.0.0.0 address interpretation possible bug?

Kevin Darbyshire-Bryant kevin at darbyshire-bryant.me.uk
Thu Sep 10 10:39:31 BST 2015


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 :-)

Kevin


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4816 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20150910/e97ac77e/attachment.bin>


More information about the Dnsmasq-discuss mailing list