Kluth, Richard SEA wrote:
Hello,
I am new to NTP, but my company makes several industrial devices that
have the ability to sync the device time via NTP. The problem is that
they have only included a configuration adjustment for the local time
zone and not DST.
My customer wants to use the NTP capability of our devices, and they
themselves have several UNIX servers that are already configured as NTP
clients, but not NTP servers. Since NTP is solely based on UTC, their
OS is performing the local time adjustment. I am not familiar with the
configuration options of NTP, but I am wondering if there is a way to
configure the NTP server to respond to the client query (my device) with
its locally adjusted time and not the UTC time?
I can adjust my device time via programming code, but it would get
overwritten via the next NTP update, so I would continually be running
the code in a vicious loop. If NTP does not have a configuration
option, is there anything else you can suggest?
As you note, NTP deals only with UTC. There is no provision in the code
for dealing with time zones or or standard vs. daylight time and I would
be extremely surprised if anyone on the development team would be
willing to add such a thing.
You can either add the capability to handle daylight time to your
devices or require the customer to change his time zone twice each year
in order to handle the time shift. I realize that either option is
probably extremely distasteful but the idea of modifying ntpd is even
more distasteful (to say the least).
Handling daylight time can be a nightmare; Congress, and state
legislatures tinker constantly with the rules. Legislatures in
countries other than the US have the same tendency and some practice
even less restraint!!
If you must do it, I'd suggest a manual, two position, switch on the
device to be set appropriately each spring and fall.
_______________________________________________
questions mailing list
[email protected]
https://lists.ntp.isc.org/mailman/listinfo/questions