User Guide
Network Time Protocol ↗ (NTP) is an Internet protocol designed to synchronize time between computer systems communicating over unreliable and variable-latency network paths. Cloudflare offers its version of NTP for free so you can use our global anycast network ↗ to synchronize time from our closest server.
To use our NTP server, change the time configuration in your device to point to time.cloudflare.com
.
MacOs
To have your Mac to synchronize time from time.cloudflare.com
:
- Go to System Preferences.
- Go to Date & Time.
- Click the lock icon on the bottom left to make changes.
- Enter your password.
- Next to Set date and time automatically, enter
time.cloudflare.com
.
Windows
To have your Windows machine synchronize time from time.cloudflare.com
:
- Go to Control Panel.
- Go to Clock and Region.
- Click Date and Time.
- Go to the Internet Time tab.
- Click Change settings..
- For Server:, type
time.cloudflare.com
and click Update now. - Click OK.
Linux
Cloudflare’s time servers are included in pool.ntp.org ↗ which is the default time service for many Linux distributions and network appliances. If your NTP client is synchronizing from one of the below servers, you are already using Cloudflare’s time services.
To manually configure your NTP client to use our time service, please first refer to the documentation for your Linux distribution to determine which NTP client you are using and where the configuration files are stored.
For example:
Exact configuration will vary by Linux distribution, but below are some example configurations for popular clients:
chrony ↗
-
Add
time.cloudflare.com
as a server in the configuration file on your system (e.g.,/etc/chrony/chrony.conf
) -
Restart the chronyd service.
systemd-timesyncd ↗
-
Add
time.cloudflare.com
to the[Time]
section of the configuration file on your system (e.g.,/etc/systemd/timesyncd.conf
) -
Restart the systemd-timesyncd service.
ntpd ↗
-
Add
time.cloudflare.com
as a server in the configuration file on your system (e.g.,/etc/ntp.conf
) -
Restart the ntpd service.