[Dnsmasq-discuss] option:ntp-server

Tom Metro tmetro+dnsmasq at gmail.com
Wed Apr 1 19:23:12 BST 2009


Quoting from the sample configuration file:

   # Set the NTP time server addresses to 192.168.0.4 and 10.10.0.5
   #dhcp-option=option:ntp-server,192.168.0.4,10.10.0.5

   # Set the NTP time server address to be the same machine as
   # is running dnsmasq
   #dhcp-option=42,0.0.0.0

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?

  -Tom

-- 
Tom Metro
Venture Logic, Newton, MA, USA
"Enterprise solutions through open source."
Professional Profile: http://tmetro.venturelogic.com/



More information about the Dnsmasq-discuss mailing list