Change NTP server on Debian 11

The Network Time Protocol (NTP) is a networking protocol for clock synchronization between computer systems over packet-switched, variable-latency data networks. In operation since before 1985, NTP is one of the oldest Internet protocols in current use. NTP was designed by David L. Mills of the University of Delaware.

On Debian 11, we can replace NTP server in faw steps :

First open file /etc/systemd/timesyncd.conf and find NTP key and replace with Your NTP server (in my Case I will use and

sudo nano /etc/systemd/timesyncd.conf

 Modified line in configuration :

Now I set my time zone :

sudo timedatectl set-timezone Europe/Zagreb

Now activate NTP and restart service:

sudo timedatectl set-local-rtc 0
sudo timedatectl set-ntp true
sudo systemctl restart systemd-timesyncd

Check status of NTP :

sudo systemctl status systemd-timesyncd
sudo timedatectl status


Add ping

Trackback URL :

Page top