[ntp:questions] Interface IP address Change.
kardel at ntp.org
Fri Jul 4 21:43:39 UTC 2008
Ideally nobody should have to restart ntpd for whatever reason.
Interface address changes are already handled automatically.
The last weak spot wrt/ to refreshing addresses is name resolution.
Steve Kostecke wrote:
> On 2008-07-01, kiran shirol <kiran.shirol at gmail.com> wrote:
>> "Frank Kardel" <kardel at ntp.org> wrote
>>> [---=| TOFU protection by t-prot: 82 lines snipped |=---]
>> That would be good so that the user need not have to worry about any
>> changes in the IP addresses in future. I read some other mail thread
>> on the forum and the solution suggested was to restart NTP. But that
>> approach needs user/admin intervention and thus not a good thing to
> Restarting ntpd in response to system events such as DHCP acquiring a
> new address is not that difficult on a useful OS. So that's a rather
> weak argument.
> Although you might be tempted to make the case restarts are undesireable
> because that ntpd loses state information when restarted, it should be
> pointed out that systems which are subject to interface changes are
> usally leaf-nodes and a definitely not high quality time servers. Plus
> the warm restart of a properly configured ntpd (i.e. correct ntp.conf,
> valid drift.file) takes a mere ~15-20 seconds.
More information about the questions