<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://performiq.com/kb/index.php?action=history&amp;feed=atom&amp;title=Use_OpenNTPD_for_time_synchronisation</id>
	<title>Use OpenNTPD for time synchronisation - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://performiq.com/kb/index.php?action=history&amp;feed=atom&amp;title=Use_OpenNTPD_for_time_synchronisation"/>
	<link rel="alternate" type="text/html" href="https://performiq.com/kb/index.php?title=Use_OpenNTPD_for_time_synchronisation&amp;action=history"/>
	<updated>2026-05-18T16:20:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://performiq.com/kb/index.php?title=Use_OpenNTPD_for_time_synchronisation&amp;diff=1943&amp;oldid=prev</id>
		<title>PeterHarding: New page: &lt;i&gt;by Vincent Danen, TechRepublic&lt;/i&gt;  Traditionally, the time synchronisation application used on Linux systems has been ntpd (network time protocol daemon). However, for quite some time ...</title>
		<link rel="alternate" type="text/html" href="https://performiq.com/kb/index.php?title=Use_OpenNTPD_for_time_synchronisation&amp;diff=1943&amp;oldid=prev"/>
		<updated>2008-04-25T05:08:02Z</updated>

		<summary type="html">&lt;p&gt;New page: &amp;lt;i&amp;gt;by Vincent Danen, TechRepublic&amp;lt;/i&amp;gt;  Traditionally, the time synchronisation application used on Linux systems has been ntpd (network time protocol daemon). However, for quite some time ...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;i&amp;gt;by Vincent Danen, TechRepublic&amp;lt;/i&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Traditionally, the time synchronisation application used on Linux systems&lt;br /&gt;
has been ntpd (network time protocol daemon). However, for quite some time&lt;br /&gt;
now, the developers behind OpenSSH have created a secure, lean, and easy to&lt;br /&gt;
configure NTP daemon called OpenNTPD (http://www.openntpd.org/). Many Linux&lt;br /&gt;
distributions provide OpenNTPD, but few use it as the default ntpd service.&lt;br /&gt;
&lt;br /&gt;
The traditional NTP service provided with Linux distributions comes in a&lt;br /&gt;
client/server flavor. The client, ntpdate, connects to an NTP service and&lt;br /&gt;
sets the system clock accordingly, to keep the system clock as accurate as&lt;br /&gt;
possible. Ntpd does the same thing, but keeps checking the time servers to&lt;br /&gt;
keep the system clock accurate, as well as acts as an ntpd server to other&lt;br /&gt;
clients.&lt;br /&gt;
&lt;br /&gt;
However, if you look at the NTP package with most distributions, you will&lt;br /&gt;
see a handful of applications: ntpdate, ntpd, ntpq, ntp-keygen, ntpstat,&lt;br /&gt;
and more. Contrast that to what comes with OpenNTPD: ntpd -- one single&lt;br /&gt;
application that acts as both client and server. With the use of its very&lt;br /&gt;
straightforward configuration file, you can determine whether or not ntpd&lt;br /&gt;
acts as just a client, or as both server and client. By default, ntpd acts&lt;br /&gt;
as a client only.&lt;br /&gt;
&lt;br /&gt;
Starting ntpd is extremely simple and has a small number of options. Most&lt;br /&gt;
distributions that provide OpenNTPD will also provide an initscript to&lt;br /&gt;
start it. If such an initscript is not available, simply add the following&lt;br /&gt;
to /etc/rc.d/rc.local or a similar one-time startup script:&lt;br /&gt;
&lt;br /&gt;
/usr/sbin/ntpd&lt;br /&gt;
&lt;br /&gt;
This will start the ntpd service, and it will immediately begin checking&lt;br /&gt;
the clock time against the configured remote NTP servers and adjust the&lt;br /&gt;
clock as necessary.&lt;br /&gt;
&lt;br /&gt;
To have ntpd act as a server, edit /etc/ntpd.conf  and uncomment one of&lt;br /&gt;
the &amp;quot;listen&amp;quot; lines, such as:&lt;br /&gt;
&lt;br /&gt;
listen 192.168.0.10&lt;br /&gt;
&lt;br /&gt;
This will make ntpd listen for incoming requests on the IP address&lt;br /&gt;
192.168.0.10, port 123.&lt;br /&gt;
&lt;br /&gt;
If you have multiple machines and wish to have one act as the primary NTP&lt;br /&gt;
server for your local network, use a configuration similar to the&lt;br /&gt;
following for the NTP server:&lt;br /&gt;
&lt;br /&gt;
listen 192.168.0.10&lt;br /&gt;
servers pool.ntp.org&lt;br /&gt;
&lt;br /&gt;
On the client systems, simply use:&lt;br /&gt;
&lt;br /&gt;
server 192.168.0.10&lt;br /&gt;
&lt;br /&gt;
This will cause all the client systems to contact the defined NTP server&lt;br /&gt;
on the local network, which will reduce extraneous traffic to the&lt;br /&gt;
world-wide NTP servers. The primary NTP server still sets the clock&lt;br /&gt;
according to the world-wide NTP servers, and that time information is then&lt;br /&gt;
easily propagated to the clients.&lt;br /&gt;
&lt;br /&gt;
[[Category:Technet]]&lt;br /&gt;
[[Category:Whitepapers]]&lt;/div&gt;</summary>
		<author><name>PeterHarding</name></author>
	</entry>
</feed>