使用了chrony模块
1.dnf install chrony
2.vim /etc/chrony.conf
# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
#pool 2.centos.pool.ntp.org iburst
server 210.72.145.44 iburst
server ntp.aliyun.com iburst
3.systemctl restart chronyd.service
4.chronyc sources -v
参考:https://blog.csdn.net/baozi_xiaoge/article/details/103823996