[Dnsmasq-discuss] dnsmasq compilation and --help not matching

john doe johndoe65534 at mail.com
Fri Jun 14 19:38:37 BST 2019


On 6/14/2019 8:03 PM, SALA MASSIMO wrote:
> Hi
>
>
> I compile dnsmasq 2.80, without dhcp support.
>
>
> dnsmasq -v
>
>
> Dnsmasq version 2.80  Copyright (c) 2000-2018 Simon Kelley
>
> Compile time options: no-IPv6 GNU-getopt no-DBus no-i18n no-IDN no-DHCP no-scripts no-TFTP no-conntrack ipset no-auth no-DNSSEC loop-detect no-inotify dumpfile
>
>
>
> dnsmasq --help | grep dhcp
>
>
> -F, --dhcp-range=<ipaddr>,...                          Enable DHCP in the range given with lease duration.
>
> -G, --dhcp-host=<hostspec>                             Set address or hostname for a specified machine.
>
>     --dhcp-hostsfile=<path>                            Read DHCP host specs from file.
>
> ... etc. etc... with all the dhcp options
>
>
>
> The same looking other features disabled, for example
>
> dnsmasq --help | grep tftp
>
>
>
> Why does dnsmasq show these options?
>
> This is counter-intuitive,  I never see other programs where the help doesn't match the compiled features.
>

Simply put, dnsmasq does not support what you want.
Feel free to remediate this! :)

--
John Doe



More information about the Dnsmasq-discuss mailing list