‹ 首页 / 导航资源 / ⏰ 公共 NTP 时间源速查 ☆ 💬 反馈与建议 ×
微信 邮箱 手机 QQ 其他
当前工具:公共 NTP 速查
取消 提交
🌙
10 个主流公共 NTP 时间源:国内 5 家 (阿里 / 腾讯 / 华为 / 国家授时中心 / 教育网)+
国际 5 家 (Cloudflare 含 NTS / Google leap-smear / Apple / Microsoft / NTP Pool)。
上方点 主机名 / pool 任一格直接复制;下方
「OS 配置生成器」 选系统 + 选 provider 即生成 macOS / Windows / systemd-timesyncd / chrony / ntpd / OpenWrt / Docker 配置,附 ntpdate / sntp 在线验证命令。
📋 Provider 速查(点格子复制)
🇨🇳 国内 NTP 推荐家用 / 服务器 / 国内业务首选 阿里云 NTP
阿里云提供,国内 ECS 默认推荐,公共可用
配置 →
pool ntp1.aliyun.com⧉ ntp2.aliyun.com⧉ ntp3.aliyun.com⧉ ntp4.aliyun.com⧉ ntp5.aliyun.com⧉ ntp6.aliyun.com⧉ ntp7.aliyun.com⧉
腾讯云 NTP
腾讯云提供,BGP 多线接入,国内通用
配置 →
主 time1.cloud.tencent.com⧉
pool time1.cloud.tencent.com⧉ time2.cloud.tencent.com⧉ time3.cloud.tencent.com⧉ time4.cloud.tencent.com⧉ time5.cloud.tencent.com⧉
pool cn.ntp.org.cn⧉ cn.pool.ntp.org⧉
🌐 国际 NTP 隐私 / 加密(NTS)/ 兜底,国内可达性参差 pool time1.google.com⧉ time2.google.com⧉ time3.google.com⧉ time4.google.com⧉
Microsoft Time
Windows 默认时间源;非域成员只对外同步
配置 →
pool 0.pool.ntp.org⧉ 1.pool.ntp.org⧉ 2.pool.ntp.org⧉ 3.pool.ntp.org⧉
🛠 OS 配置生成器
选择系统 8 个平台 🍎 macOS 🪟 Windows 🐧 systemd-timesyncd 🕒 chrony ⚙️ ntpd / ntpsec 📡 OpenWrt 🐳 Docker 🔍 在线验证
macOS Ventura+ 用 sntp 单次校时,长期同步走系统设置或 chronyd(可选)。
通过 w32tm 配置时间服务,需管理员 PowerShell / cmd。修改后必须重启 W32Time。
Ubuntu/Debian/Fedora 桌面版默认使用 systemd-timesyncd(轻量 SNTP 客户端,仅支持 NTP)。
服务器、RHEL/CentOS/Rocky/Alma 默认;支持 NTS、本地硬件时钟、闰秒平滑。
传统 ntpd(reference implementation)和 ntpsec(精简 fork)。生产服务器仍较常见。
OpenWrt 内置 sysntpd(busybox),通过 uci 配置或编辑 /etc/config/system。
容器内部不要单独跑 NTP——容器共享宿主时钟,校时是宿主机的责任。该面板提供宿主侧配置。
不修改系统配置,仅做一次性查询:检查目标服务器响应、stratum、延迟、偏移。
选择 Provider 10 家 阿里 腾讯 华为 国授中心 教育网 Cloudflare Google Apple Microsoft NTP Pool
bash 设置时间服务器(系统级,需管理员)
复制 sudo systemsetup -setnetworktimeserver ntp.aliyun.com
sudo systemsetup -setusingnetworktime on sudo sntp -sS ntp.aliyun.com sudo systemsetup -getnetworktimeserver bash 设置时间服务器(系统级,需管理员)
复制 sudo systemsetup -setnetworktimeserver time1.cloud.tencent.com
sudo systemsetup -setusingnetworktime on sudo sntp -sS time1.cloud.tencent.com sudo systemsetup -getnetworktimeserver bash 设置时间服务器(系统级,需管理员)
复制 sudo systemsetup -setnetworktimeserver ntp.myhuaweicloud.com
sudo systemsetup -setusingnetworktime on sudo sntp -sS ntp.myhuaweicloud.com sudo systemsetup -getnetworktimeserver bash 设置时间服务器(系统级,需管理员)
复制 sudo systemsetup -setnetworktimeserver ntp.ntsc.ac.cn
sudo systemsetup -setusingnetworktime on sudo sntp -sS ntp.ntsc.ac.cn sudo systemsetup -getnetworktimeserver bash 设置时间服务器(系统级,需管理员)
复制 sudo systemsetup -setnetworktimeserver cn.ntp.org.cn
sudo systemsetup -setusingnetworktime on sudo sntp -sS cn.ntp.org.cn sudo systemsetup -getnetworktimeserver bash 设置时间服务器(系统级,需管理员)
复制 sudo systemsetup -setnetworktimeserver time.cloudflare.com
sudo systemsetup -setusingnetworktime on sudo sntp -sS time.cloudflare.com sudo systemsetup -getnetworktimeserver bash 设置时间服务器(系统级,需管理员)
复制 sudo systemsetup -setnetworktimeserver time.google.com
sudo systemsetup -setusingnetworktime on sudo sntp -sS time.google.com sudo systemsetup -getnetworktimeserver bash 设置时间服务器(系统级,需管理员)
复制 sudo systemsetup -setnetworktimeserver time.apple.com
sudo systemsetup -setusingnetworktime on sudo sntp -sS time.apple.com sudo systemsetup -getnetworktimeserver bash 设置时间服务器(系统级,需管理员)
复制 sudo systemsetup -setnetworktimeserver time.windows.com
sudo systemsetup -setusingnetworktime on sudo sntp -sS time.windows.com sudo systemsetup -getnetworktimeserver bash 设置时间服务器(系统级,需管理员)
复制 sudo systemsetup -setnetworktimeserver pool.ntp.org
sudo systemsetup -setusingnetworktime on sudo sntp -sS pool.ntp.org sudo systemsetup -getnetworktimeserver w32tm /config /manualpeerlist:"ntp1.aliyun.com,ntp2.aliyun.com,ntp3.aliyun.com,ntp4.aliyun.com,ntp5.aliyun.com,ntp6.aliyun.com,ntp7.aliyun.com" /syncfromflags:manual /reliable:yes /update
net stop w32time
net start w32time
w32tm /resync powershell 验证 / 查看同步状态
复制 w32tm /query /status
w32tm /query /peers w32tm /config /manualpeerlist:"time1.cloud.tencent.com,time2.cloud.tencent.com,time3.cloud.tencent.com,time4.cloud.tencent.com,time5.cloud.tencent.com" /syncfromflags:manual /reliable:yes /update
net stop w32time
net start w32time
w32tm /resync powershell 验证 / 查看同步状态
复制 w32tm /query /status
w32tm /query /peers w32tm /config /manualpeerlist:"ntp.myhuaweicloud.com" /syncfromflags:manual /reliable:yes /update
net stop w32time
net start w32time
w32tm /resync powershell 验证 / 查看同步状态
复制 w32tm /query /status
w32tm /query /peers w32tm /config /manualpeerlist:"ntp.ntsc.ac.cn" /syncfromflags:manual /reliable:yes /update
net stop w32time
net start w32time
w32tm /resync powershell 验证 / 查看同步状态
复制 w32tm /query /status
w32tm /query /peers w32tm /config /manualpeerlist:"cn.ntp.org.cn,cn.pool.ntp.org" /syncfromflags:manual /reliable:yes /update
net stop w32time
net start w32time
w32tm /resync powershell 验证 / 查看同步状态
复制 w32tm /query /status
w32tm /query /peers w32tm /config /manualpeerlist:"time.cloudflare.com" /syncfromflags:manual /reliable:yes /update
net stop w32time
net start w32time
w32tm /resync powershell 验证 / 查看同步状态
复制 w32tm /query /status
w32tm /query /peers w32tm /config /manualpeerlist:"time1.google.com,time2.google.com,time3.google.com,time4.google.com" /syncfromflags:manual /reliable:yes /update
net stop w32time
net start w32time
w32tm /resync powershell 验证 / 查看同步状态
复制 w32tm /query /status
w32tm /query /peers w32tm /config /manualpeerlist:"time.apple.com" /syncfromflags:manual /reliable:yes /update
net stop w32time
net start w32time
w32tm /resync powershell 验证 / 查看同步状态
复制 w32tm /query /status
w32tm /query /peers w32tm /config /manualpeerlist:"time.windows.com" /syncfromflags:manual /reliable:yes /update
net stop w32time
net start w32time
w32tm /resync powershell 验证 / 查看同步状态
复制 w32tm /query /status
w32tm /query /peers w32tm /config /manualpeerlist:"0.pool.ntp.org,1.pool.ntp.org,2.pool.ntp.org,3.pool.ntp.org" /syncfromflags:manual /reliable:yes /update
net stop w32time
net start w32time
w32tm /resync powershell 验证 / 查看同步状态
复制 w32tm /query /status
w32tm /query /peers [Time]
NTP=ntp1.aliyun.com ntp2.aliyun.com ntp3.aliyun.com ntp4.aliyun.com ntp5.aliyun.com ntp6.aliyun.com ntp7.aliyun.com
FallbackNTP=cn.pool.ntp.org pool.ntp.org sudo systemctl restart systemd-timesyncd
sudo timedatectl set-ntp true
timedatectl timesync-status [Time]
NTP=time1.cloud.tencent.com time2.cloud.tencent.com time3.cloud.tencent.com time4.cloud.tencent.com time5.cloud.tencent.com
FallbackNTP=cn.pool.ntp.org pool.ntp.org sudo systemctl restart systemd-timesyncd
sudo timedatectl set-ntp true
timedatectl timesync-status [Time]
NTP=ntp.myhuaweicloud.com
FallbackNTP=cn.pool.ntp.org pool.ntp.org sudo systemctl restart systemd-timesyncd
sudo timedatectl set-ntp true
timedatectl timesync-status [Time]
NTP=ntp.ntsc.ac.cn
FallbackNTP=cn.pool.ntp.org pool.ntp.org sudo systemctl restart systemd-timesyncd
sudo timedatectl set-ntp true
timedatectl timesync-status [Time]
NTP=cn.ntp.org.cn cn.pool.ntp.org
FallbackNTP=cn.pool.ntp.org pool.ntp.org sudo systemctl restart systemd-timesyncd
sudo timedatectl set-ntp true
timedatectl timesync-status [Time]
NTP=time.cloudflare.com
FallbackNTP=cn.pool.ntp.org pool.ntp.org sudo systemctl restart systemd-timesyncd
sudo timedatectl set-ntp true
timedatectl timesync-status [Time]
NTP=time1.google.com time2.google.com time3.google.com time4.google.com
FallbackNTP=cn.pool.ntp.org pool.ntp.org sudo systemctl restart systemd-timesyncd
sudo timedatectl set-ntp true
timedatectl timesync-status [Time]
NTP=time.apple.com
FallbackNTP=cn.pool.ntp.org pool.ntp.org sudo systemctl restart systemd-timesyncd
sudo timedatectl set-ntp true
timedatectl timesync-status [Time]
NTP=time.windows.com
FallbackNTP=cn.pool.ntp.org pool.ntp.org sudo systemctl restart systemd-timesyncd
sudo timedatectl set-ntp true
timedatectl timesync-status [Time]
NTP=0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org
FallbackNTP=cn.pool.ntp.org pool.ntp.org sudo systemctl restart systemd-timesyncd
sudo timedatectl set-ntp true
timedatectl timesync-status server ntp1.aliyun.com iburst
server ntp2.aliyun.com iburst
server ntp3.aliyun.com iburst
server ntp4.aliyun.com iburst
server ntp5.aliyun.com iburst
server ntp6.aliyun.com iburst
server ntp7.aliyun.com iburst
makestep 1.0 3
rtcsync sudo systemctl restart chronyd
chronyc sources -v
chronyc tracking server time1.cloud.tencent.com iburst
server time2.cloud.tencent.com iburst
server time3.cloud.tencent.com iburst
server time4.cloud.tencent.com iburst
server time5.cloud.tencent.com iburst
makestep 1.0 3
rtcsync sudo systemctl restart chronyd
chronyc sources -v
chronyc tracking server ntp.myhuaweicloud.com iburst
makestep 1.0 3
rtcsync sudo systemctl restart chronyd
chronyc sources -v
chronyc tracking server ntp.ntsc.ac.cn iburst
makestep 1.0 3
rtcsync sudo systemctl restart chronyd
chronyc sources -v
chronyc tracking server cn.ntp.org.cn iburst
server cn.pool.ntp.org iburst
makestep 1.0 3
rtcsync sudo systemctl restart chronyd
chronyc sources -v
chronyc tracking server time.cloudflare.com iburst nts
makestep 1.0 3
rtcsync sudo systemctl restart chronyd
chronyc sources -v
chronyc tracking server time1.google.com iburst
server time2.google.com iburst
server time3.google.com iburst
server time4.google.com iburst
makestep 1.0 3
rtcsync sudo systemctl restart chronyd
chronyc sources -v
chronyc tracking server time.apple.com iburst
makestep 1.0 3
rtcsync sudo systemctl restart chronyd
chronyc sources -v
chronyc tracking server time.windows.com iburst
makestep 1.0 3
rtcsync sudo systemctl restart chronyd
chronyc sources -v
chronyc tracking server 0.pool.ntp.org iburst
server 1.pool.ntp.org iburst
server 2.pool.ntp.org iburst
server 3.pool.ntp.org iburst
makestep 1.0 3
rtcsync sudo systemctl restart chronyd
chronyc sources -v
chronyc tracking server ntp1.aliyun.com iburst
server ntp2.aliyun.com iburst
server ntp3.aliyun.com iburst
server ntp4.aliyun.com iburst
server ntp5.aliyun.com iburst
server ntp6.aliyun.com iburst
server ntp7.aliyun.com iburst
driftfile /var/lib/ntp/ntp.drift sudo systemctl restart ntp
ntpq -p server time1.cloud.tencent.com iburst
server time2.cloud.tencent.com iburst
server time3.cloud.tencent.com iburst
server time4.cloud.tencent.com iburst
server time5.cloud.tencent.com iburst
driftfile /var/lib/ntp/ntp.drift sudo systemctl restart ntp
ntpq -p server ntp.myhuaweicloud.com iburst
driftfile /var/lib/ntp/ntp.drift sudo systemctl restart ntp
ntpq -p server ntp.ntsc.ac.cn iburst
driftfile /var/lib/ntp/ntp.drift sudo systemctl restart ntp
ntpq -p server cn.ntp.org.cn iburst
server cn.pool.ntp.org iburst
driftfile /var/lib/ntp/ntp.drift sudo systemctl restart ntp
ntpq -p server time.cloudflare.com iburst
driftfile /var/lib/ntp/ntp.drift sudo systemctl restart ntp
ntpq -p server time1.google.com iburst
server time2.google.com iburst
server time3.google.com iburst
server time4.google.com iburst
driftfile /var/lib/ntp/ntp.drift sudo systemctl restart ntp
ntpq -p server time.apple.com iburst
driftfile /var/lib/ntp/ntp.drift sudo systemctl restart ntp
ntpq -p server time.windows.com iburst
driftfile /var/lib/ntp/ntp.drift sudo systemctl restart ntp
ntpq -p server 0.pool.ntp.org iburst
server 1.pool.ntp.org iburst
server 2.pool.ntp.org iburst
server 3.pool.ntp.org iburst
driftfile /var/lib/ntp/ntp.drift sudo systemctl restart ntp
ntpq -p uci -q delete system.ntp.server
uci add_list system.ntp.server='ntp1.aliyun.com'
uci add_list system.ntp.server='ntp2.aliyun.com'
uci add_list system.ntp.server='ntp3.aliyun.com'
uci add_list system.ntp.server='ntp4.aliyun.com'
uci add_list system.ntp.server='ntp5.aliyun.com'
uci add_list system.ntp.server='ntp6.aliyun.com'
uci add_list system.ntp.server='ntp7.aliyun.com'
uci set system.ntp.enabled='1'
uci commit system
/etc/init.d/sysntpd restart uci -q delete system.ntp.server
uci add_list system.ntp.server='time1.cloud.tencent.com'
uci add_list system.ntp.server='time2.cloud.tencent.com'
uci add_list system.ntp.server='time3.cloud.tencent.com'
uci add_list system.ntp.server='time4.cloud.tencent.com'
uci add_list system.ntp.server='time5.cloud.tencent.com'
uci set system.ntp.enabled='1'
uci commit system
/etc/init.d/sysntpd restart uci -q delete system.ntp.server
uci add_list system.ntp.server='ntp.myhuaweicloud.com'
uci set system.ntp.enabled='1'
uci commit system
/etc/init.d/sysntpd restart uci -q delete system.ntp.server
uci add_list system.ntp.server='ntp.ntsc.ac.cn'
uci set system.ntp.enabled='1'
uci commit system
/etc/init.d/sysntpd restart uci -q delete system.ntp.server
uci add_list system.ntp.server='cn.ntp.org.cn'
uci add_list system.ntp.server='cn.pool.ntp.org'
uci set system.ntp.enabled='1'
uci commit system
/etc/init.d/sysntpd restart uci -q delete system.ntp.server
uci add_list system.ntp.server='time.cloudflare.com'
uci set system.ntp.enabled='1'
uci commit system
/etc/init.d/sysntpd restart uci -q delete system.ntp.server
uci add_list system.ntp.server='time1.google.com'
uci add_list system.ntp.server='time2.google.com'
uci add_list system.ntp.server='time3.google.com'
uci add_list system.ntp.server='time4.google.com'
uci set system.ntp.enabled='1'
uci commit system
/etc/init.d/sysntpd restart uci -q delete system.ntp.server
uci add_list system.ntp.server='time.apple.com'
uci set system.ntp.enabled='1'
uci commit system
/etc/init.d/sysntpd restart uci -q delete system.ntp.server
uci add_list system.ntp.server='time.windows.com'
uci set system.ntp.enabled='1'
uci commit system
/etc/init.d/sysntpd restart uci -q delete system.ntp.server
uci add_list system.ntp.server='0.pool.ntp.org'
uci add_list system.ntp.server='1.pool.ntp.org'
uci add_list system.ntp.server='2.pool.ntp.org'
uci add_list system.ntp.server='3.pool.ntp.org'
uci set system.ntp.enabled='1'
uci commit system
/etc/init.d/sysntpd restart # 容器不需要装 ntpd / chrony——共享宿主时钟。
# 在【宿主】上配置 chrony 即可,参考 chrony 面板。
# 如需容器内查看时间偏移:
docker exec <container> date -u # 容器不需要装 ntpd / chrony——共享宿主时钟。
# 在【宿主】上配置 chrony 即可,参考 chrony 面板。
# 如需容器内查看时间偏移:
docker exec <container> date -u # 容器不需要装 ntpd / chrony——共享宿主时钟。
# 在【宿主】上配置 chrony 即可,参考 chrony 面板。
# 如需容器内查看时间偏移:
docker exec <container> date -u # 容器不需要装 ntpd / chrony——共享宿主时钟。
# 在【宿主】上配置 chrony 即可,参考 chrony 面板。
# 如需容器内查看时间偏移:
docker exec <container> date -u # 容器不需要装 ntpd / chrony——共享宿主时钟。
# 在【宿主】上配置 chrony 即可,参考 chrony 面板。
# 如需容器内查看时间偏移:
docker exec <container> date -u # 容器不需要装 ntpd / chrony——共享宿主时钟。
# 在【宿主】上配置 chrony 即可,参考 chrony 面板。
# 如需容器内查看时间偏移:
docker exec <container> date -u # 容器不需要装 ntpd / chrony——共享宿主时钟。
# 在【宿主】上配置 chrony 即可,参考 chrony 面板。
# 如需容器内查看时间偏移:
docker exec <container> date -u # 容器不需要装 ntpd / chrony——共享宿主时钟。
# 在【宿主】上配置 chrony 即可,参考 chrony 面板。
# 如需容器内查看时间偏移:
docker exec <container> date -u # 容器不需要装 ntpd / chrony——共享宿主时钟。
# 在【宿主】上配置 chrony 即可,参考 chrony 面板。
# 如需容器内查看时间偏移:
docker exec <container> date -u # 容器不需要装 ntpd / chrony——共享宿主时钟。
# 在【宿主】上配置 chrony 即可,参考 chrony 面板。
# 如需容器内查看时间偏移:
docker exec <container> date -u bash ntpdate 单次查询(不调时)
复制 ntpdate -q ntp.aliyun.com bash chronyd 单次询问(无需启服务)
复制 chronyd -Q 'server ntp.aliyun.com iburst' bash ntpdate 单次查询(不调时)
复制 ntpdate -q time1.cloud.tencent.com sntp -d time1.cloud.tencent.com bash chronyd 单次询问(无需启服务)
复制 chronyd -Q 'server time1.cloud.tencent.com iburst' bash ntpdate 单次查询(不调时)
复制 ntpdate -q ntp.myhuaweicloud.com sntp -d ntp.myhuaweicloud.com bash chronyd 单次询问(无需启服务)
复制 chronyd -Q 'server ntp.myhuaweicloud.com iburst' bash ntpdate 单次查询(不调时)
复制 ntpdate -q ntp.ntsc.ac.cn bash chronyd 单次询问(无需启服务)
复制 chronyd -Q 'server ntp.ntsc.ac.cn iburst' bash ntpdate 单次查询(不调时)
复制 ntpdate -q cn.ntp.org.cn bash chronyd 单次询问(无需启服务)
复制 chronyd -Q 'server cn.ntp.org.cn iburst' bash ntpdate 单次查询(不调时)
复制 ntpdate -q time.cloudflare.com sntp -d time.cloudflare.com bash chronyd 单次询问(无需启服务)
复制 chronyd -Q 'server time.cloudflare.com iburst' bash ntpdate 单次查询(不调时)
复制 ntpdate -q time.google.com bash chronyd 单次询问(无需启服务)
复制 chronyd -Q 'server time.google.com iburst' bash ntpdate 单次查询(不调时)
复制 ntpdate -q time.apple.com bash chronyd 单次询问(无需启服务)
复制 chronyd -Q 'server time.apple.com iburst' bash ntpdate 单次查询(不调时)
复制 ntpdate -q time.windows.com bash chronyd 单次询问(无需启服务)
复制 chronyd -Q 'server time.windows.com iburst' bash ntpdate 单次查询(不调时)
复制 ntpdate -q pool.ntp.org bash chronyd 单次询问(无需启服务)
复制 chronyd -Q 'server pool.ntp.org iburst' 已复制到剪贴板
当前在 App 内置浏览器中,文件可能无法下载保存。请点右上角菜单,选择「在浏览器中打开」。 ×