國際標準時間源
time.nist.gov — 美國國家標準技術研究院 (NIST)
time-a.nist.gov / time-b.nist.gov / time-nw.nist.gov — NIST 多節點
timekeeper.isi.edu — USC 資訊科學研究所
time.twc.weather.com — The Weather Channel
usno.pa-x.dec.com — 美國海軍天文台 (USNO) 節點
swisstime.ethz.ch — 瑞士聯邦理工學院蘇黎世
ntp0.fau.de / ntp3.fau.de — 德國埃朗根-紐倫堡大學
subitaneous.cpsc.ucalgary.ca — 加拿大卡爾加里大學
nist1-sj.glassey.com — NIST 鏡像站
中國大陸主要 NTP 伺服器
ntp.ntsc.ac.cn — 中科院國家授時中心 (權威源)
ntp1.aliyun.com / ntp2.aliyun.com / ntp3.aliyun.com — 阿里雲
ntp.tencent.com / ntp1.tencent.com — 騰訊雲
ntp.cloud.tencent.com — 騰訊雲內網 (CVM 建議用內網 NTP)
time1.cloud.tencent.com — 騰訊雲公網
ntp.sjtu.edu.cn — 上海交通大學
ntp.neu.edu.cn — 東北大學
ntp.bupt.edu.cn — 北京郵電大學
time.edu.cn — 教育網授時
cn.pool.ntp.org / cn.ntp.org.cn — NTP Pool 專案中國節點
210.72.145.44 — 早期公開 IP (建議改用域名)
台灣地區 NTP 伺服器
time.stdtime.gov.tw — 國家標準時間中心
watch.stdtime.gov.tw
tick.stdtime.gov.tw
clock.stdtime.gov.tw
time.nchu.edu.tw — 中興大學
time.nctu.edu.tw — 交通大學 (現陽明交通大學)
香港/澳門/海外華語地區
stdtime.gov.hk — 香港天文台
time.windows.com — Microsoft (全球 Anycast)
time.apple.com — Apple
time.google.com — Google (支援公佈閏秒平滑)
time.cloudflare.com — Cloudflare
作業系統/裝置設定指引
Windows (命令列)
w32tm /config /manualpeerlist:"ntp.ntsc.ac.cn ntp.aliyun.com time.windows.com" /syncfromflags:manual /reliable:yes /update
w32tm /resync /nowait
# 檢查狀態
w32tm /query /status
w32tm /query /peers
Linux (chrony 推薦,優於 ntpd)
/etc/chrony.conf
server ntp.ntsc.ac.cn iburst
server ntp.aliyun.com iburst
server time.google.com iburst
# 執行
systemctl restart chronyd
chronyc sources -v
chronyc tracking
網路設備 (Cisco/Huawei/Juniper)
! Cisco IOS
ntp server ntp.ntsc.ac.cn prefer
ntp server ntp.aliyun.com
ntp master 3 ! 若本身為授時源
! Huawei VRP
ntp-service unicast-server ntp.ntsc.ac.cn
ntp-service unicast-server ntp.aliyun.com
VMware ESXi
esxcli system ntp set --servers=ntp.ntsc.ac.cn,ntp.aliyun.com,time.google.com
/sbin/services.sh restart
最佳實踐建議
- 至少配置 3-4 個 獨立來源伺服器 (不同網路/機構),NTP 演算法可剔除離群值。
- 優先選擇 網路拓撲較近 (延遲低、抖動小) 的伺服器。
- 內網建立分層 NTP 架構:核心交換機/防火牆同步外部源 (Stratum 1/2) → 內部 NTP 伺服器 (Stratum 3/4) → 終端同步內部源,減少外部流量與單點故障。
- 啟用 NTP 鑑別 (Autokey/對稱金鑰) 防止偽造時間源攻擊。
- 監控時間偏移:
|offset| > 100ms 告警,> 1s 緊急處理。
- 虛擬機需安裝 Guest Tools (VMware Tools / VirtIO) 並啟用時間同步,或直接在 Guest 內運行 NTP 客戶端。