simon at thekelleys.org.uk
Wed Apr 1 20:16:21 BST 2009
Tom Metro wrote:
> Quoting from the sample configuration file:
> # Set the NTP time server addresses to 192.168.0.4 and 10.10.0.5
> # Set the NTP time server address to be the same machine as
> # is running dnsmasq
> The "option:ntp-server" line was added somewhat recently, and when I
> noticed (while merging my local changes into the distribution supplied
> config), I wondered if it needed to be specified in addition to the 42
> option, or if it was redundant.
> Is "option:ntp-server" and 42 equivalent? The man page seems to suggest
> it is. If so, shouldn't the sample config use one of the formats
> (preferably the verbose one) consistently?
They are equivalent. Old versions of dnsmasq only understood the
numbers, later it was taught the names of the common options.
You can get a list of the options it knows with
dnsmasq -w dhcp
Making the example file consistent would be useful. Patches gratefully
More information about the Dnsmasq-discuss