Services/NTP: Difference between revisions

From DcUsers
(Created page with "{{Template:Service | description = This service allows to keep your machine on time, by being synchronized with a remote time server. The later may itself be synchronized with a …")
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 9: Line 9:


== Access ==
== Access ==

=== On a personal computer ===

You need a NTP software to synchronize your machine. On Debian you can install it easily using:
apt-get install chrony

You then need to edit the configuration file ''/etc/chrony/chrony.conf'' to add this line:
server ntp.duckcorp.org iburst prefer

And then restart the service:
service chrony restart

=== On a server ===


You need a NTP software to synchronize your machine. On Debian you can install it easily using:
You need a NTP software to synchronize your machine. On Debian you can install it easily using:
Line 18: Line 31:
And then restart the service:
And then restart the service:
service ntp restart
service ntp restart

== NTP Pool ==

Our server is also part of the [https://www.pool.ntp.org/en/ NTP Pool Project]. If you use servers named like ''*.pool.ntp.org'', then you may use our server sometimes. It is often used by vendors and GNU/* distributions.


== Documentation ==
== Documentation ==


* generic documentation on [[wikipedia:Network_Time_Protocol]]
* generic documentation on [[wikipedia:Network_Time_Protocol|NTP]]


== Technical Details ==
== Technical Details ==


This service is made using:
This service is made using:
* [http://www.ntp.org/ NTP daemon]
* [https://chrony.tuxfamily.org/ Chrony daemon]
* [https://www.ntp.org/ NTP daemon]

Latest revision as of 06:45, 8 April 2020

Service 'NTP'
Description This service allows to keep your machine on time, by being synchronized with a remote time server. The later may itself be synchronized with a better time server and so on. The last one (stratum 1) uses an accurate source of time (stratum 0), like an atomic or GPS clock, and distribute it over the Internet.
Prerequisite None
Account none IPv6 Ready Yes
Security Notes There is no big security concern except you can't be sure you're talking to our NTP server (no DTLS support).


Access

On a personal computer

You need a NTP software to synchronize your machine. On Debian you can install it easily using:

apt-get install chrony

You then need to edit the configuration file /etc/chrony/chrony.conf to add this line:

server ntp.duckcorp.org iburst prefer

And then restart the service:

service chrony restart

On a server

You need a NTP software to synchronize your machine. On Debian you can install it easily using:

apt-get install ntp

You then need to edit the configuration file /etc/ntp.conf to add this line:

server ntp.duckcorp.org iburst prefer

And then restart the service:

service ntp restart

NTP Pool

Our server is also part of the NTP Pool Project. If you use servers named like *.pool.ntp.org, then you may use our server sometimes. It is often used by vendors and GNU/* distributions.

Documentation

  • generic documentation on NTP

Technical Details

This service is made using: