摘要
- 建议
如无特殊要求,推荐保持系统默认。
本文未收录云服务商、企业、高校等设置于内网的NTP服务器。使用国内高校NTP服务器时,应注意其可能有只允许校内(或教育网)访问的风险。
除了二层(stratum 2)NTP服务器,其它用户应避免直接连接到一层(stratum 1)NTP服务器。
文章具有时效性,使用前请阅读NTP服务提供商公告。
- Network Time Foundation's NTP Project
一层时间服务器:StratumOneTimeServers < Servers < NTP
二层时间服务器:StratumTwoTimeServers < Servers < NTP
- 闰秒问题
闰秒预计将于2035年废除。The leap second’s time is up: world votes to stop pausing clocks
不同NTP服务器处理闰秒问题的方式可能不同,如果对时间同步精度存在需求,请关注你使用的NTP服务提供商的公告。不建议使用由不同服务商提供的NTP服务(如同时使用Facebook和Google的NTP服务)。
解决 Red Hat Enterprise Linux 中的闰秒问题 - Red Hat Customer Portal
时间Windows服务如何对待跃点秒 - Windows Server | Microsoft Docs
- 关于NTS
NTS 是一种使用 TLS/SSL 来验证网络上的 NTP 流量的方法。这意味着坏人无法伪造数据包来让您的系统获得虚假时间。
本文不讨论NTS。
https://gist.github.com/jauderho/2ad0d441760fc5ed69d8d4e2d6b35f8d
NTP Pool Project
官网:pool.ntp.org: the internet cluster of ntp servers
pool.ntp.org 是一个以时间服务器的大虚拟集群为上百万的客户端提供可靠的 易用的 网络时间协议(NTP)服务的项目。
NTP池正在为世界各地成百上千万的系统提供服务。 它是绝大多数主流Linux发行版和许多网络设备的默认“时间服务器”
Internet空间服务器
pool.ntp.org: 我能如何安装 NTP 以使用NTP池?
pool.ntp.org
或
server 0.pool.ntp.org
server 1.pool.ntp.org
server 2.pool.ntp.org
server 3.pool.ntp.org
洲际空间服务器
pool.ntp.org: NTP Servers in Global, pool.ntp.org
以亚洲为例:
asia.pool.ntp.org
或
server 0.asia.pool.ntp.org
server 1.asia.pool.ntp.org
server 2.asia.pool.ntp.org
server 3.asia.pool.ntp.org
国家服务器
pool.ntp.org: NTP Servers in Asia, asia.pool.ntp.org
以中国为例:
cn.pool.ntp.org
或
server 0.cn.pool.ntp.org
server 1.cn.pool.ntp.org
server 2.cn.pool.ntp.org
server 3.cn.pool.ntp.org
设备、操作系统、软件供应商可向NTP Pool Project申请定制的NTP池,服务器由NTP Pool Project维护。这里以CentOS、RHEL、Debian为例,列出了它们使用的NTP池。
CentOS
0.centos.pool.ntp.org
1.centos.pool.ntp.org
2.centos.pool.ntp.org
3.centos.pool.ntp.org
RHEL
0.rhel.pool.ntp.org
1.rhel.pool.ntp.org
2.rhel.pool.ntp.org
3.rhel.pool.ntp.org
Debian
0.debian.pool.ntp.org
1.debian.pool.ntp.org
2.debian.pool.ntp.org
3.debian.pool.ntp.org
NTP.ORG.CN
全球可用的NTP服务器列表与解析服务 - ntp.org.cn & ntpdate.net
服务器列表 - 全球可用的NTP服务器列表与解析服务 - ntp.org.cn & ntpdate.net
以中国为例:
cn.ntp.org.cn
NTP SERVERS
俄罗斯的一个私人非营利项目。
NTP SERVERS 成立于 2007 年,旨在提供准确的时间服务器和其他需要高时钟精度的通信设施。
2008 年初,服务器开始向公众开放,允许所有人在支持 NTP 协议的计算机和其他设备上同步时间。
NTP SERVERS — NTP серверы точного времени
server ntp0.ntp-servers.net
server ntp1.ntp-servers.net
server ntp2.ntp-servers.net
server ntp3.ntp-servers.net
server ntp4.ntp-servers.net
server ntp5.ntp-servers.net
server ntp6.ntp-servers.net
注意:下图中的服务器地址自2022年10月11日起已经更改,不再使用。
企业
阿里巴巴
阿里巴巴公共系统服务
ntp.aliyun.com
阿里云NTP服务,不推荐使用
阿里云NTP服务器 - 云服务器 ECS - 阿里云
2022/10/2测试,ntp2.aliyun.com至ntp7.aliyun.com存在指向ntp.aliyun.com的CNAME记录
ntp1.aliyun.com
ntp2.aliyun.com
ntp3.aliyun.com
ntp4.aliyun.com
ntp5.aliyun.com
ntp6.aliyun.com
ntp7.aliyun.com
2022/10/2测试,以下7个域名都存在指向ntp.aliyun.com的CNAME记录
time1.aliyun.com
time2.aliyun.com
time3.aliyun.com
time4.aliyun.com
time5.aliyun.com
time6.aliyun.com
time7.aliyun.com
曾用于提供NTP服务的地址,仍可用,但已无法在阿里云公开文档中找到相关信息
time.pool.aliyun.com
腾讯
2022/5/24测试,以下6个地址,境内都解析到广州腾讯云,境外都解析到香港腾讯云,全球只有两个IP。所以用ntp.tencent.com即可,剩下5个凑数用的。
ntp.tencent.com
ntp1.tencent.com
ntp2.tencent.com
ntp3.tencent.com
ntp4.tencent.com
ntp5.tencent.com
以下为旧外网 NTP 服务器地址,旧地址仍可使用,但建议您配置使用新的外网 NTP 服务器地址。
time.cloud.tencent.com
time1.cloud.tencent.com
time2.cloud.tencent.com
time3.cloud.tencent.com
time4.cloud.tencent.com
time5.cloud.tencent.com
亚马逊网络服务
Amazon Time Sync 现在可以通过互联网作为公共 NTP 服务提供
在您的 EC2 实例或任何连接互联网的设备上设置时间参考,以使用公共 Amazon Time Sync Service
time.aws.com
NTP Pool Project
amazon.pool.ntp.org
0.amazon.pool.ntp.org
1.amazon.pool.ntp.org
2.amazon.pool.ntp.org
3.amazon.pool.ntp.org
微软
Windows自带
time.windows.com
苹果
macOS自带
time.apple.com
time.asia.apple.com
time.euro.apple.com
time-macos.apple.com
time-ios.apple.com
谷歌
Google Public NTP
https://developers.google.com/time
time.google.com
time.android.com
或
server time1.google.com
server time2.google.com
server time3.google.com
server time4.google.com
NTP: Building a more accurate time service at Facebook scale
time.facebook.com
或
server time1.facebook.com
server time2.facebook.com
server time3.facebook.com
server time4.facebook.com
server time5.facebook.com
Cloudflare
time.cloudflare.com
高通
高通®全球卫星导航系统辅助服务:gpsonextra,izatcloud
time.izatcloud.net
time.gpsonextra.net
Hurricane Electric
Hurricane Electric Public Stratum 1 NTP Servers
clock.sjc.he.net
clock.fmt.he.net
clock.nyc.he.net
Internet Multifeed Corporation
日本最大的网络交换中心JPNAP运营方。
注意:目前下面四个域名只有A记录,没有AAAA记录。
ntp.jst.mfeed.ad.jp
或
server ntp1.jst.mfeed.ad.jp
server ntp2.jst.mfeed.ad.jp
server ntp3.jst.mfeed.ad.jp
注意:目前下面三个域名只有AAAA记录,没有A记录。
server ntp1.v6.mfeed.ad.jp
server ntp2.v6.mfeed.ad.jp
server ntp3.v6.mfeed.ad.jp
日本电报电话
Nippon Telegraph and Telephone(NTT)
time.gin.ntt.net
time1.gin.ntt.net / x.ns.gin.ntt.net
time2.gin.ntt.net / y.ns.gin.ntt.net
Ubuntu
ntp.ubuntu.com
海康威视
监控画面没有时间怎么设置 - 萤石服务中心 - 萤石官网 - EZVIZ
time.ys7.com
hik-time.ys7.com存在指向time.ys7.com的CNAME记录,故不列出。
政府/组织
中国科学院国家授时中心
ntp.ntsc.ac.cn
中国计量科学研究院
ntp1.nim.ac.cn
ntp2.nim.ac.cn
香港天文台
IPv4
stdtime.gov.hk
IPv6
time.hko.hk
澳门地球物理暨气象局
互联网授时服务
SMG - 地球物理暨氣象局
time.smg.gov.mo
台湾时间与频率标准实验室
server tick.stdtime.gov.tw
server tock.stdtime.gov.tw
server time.stdtime.gov.tw
server clock.stdtime.gov.tw
server watch.stdtime.gov.tw
韩国标准科学研究院
time.kriss.re.kr
time2.kriss.re.kr
日本国立信息通信技术研究所
ntp.nict.jp
日本国立天文台 水沢
ホーム | 国立天文台 水沢
Operation of NTP server
s2csntp.miz.nao.ac.jp
美国国家标准技术研究所
物理测量实验室>时间与频率分部
NIST Internet Time Service (ITS) | NIST
time.nist.gov
更多服务器域名,服务器IP、地址以及状态查询:NIST Internet Time Service
印度科学与工业研究理事会
国家物理实验室>印度国家计量研究所
NPL News and Events | National Physical Laboratory
NPL-India Web Time Display
NPL-India Web Time Display
time.nplindia.org
菲律宾科学技术部
大气,地球物理和天文服务管理局
ntp.pagasa.dost.gov.ph
马来西亚国家计量学会
ntp1.sirim.my
ntp2.sirim.my
ntp3.sirim.my
全俄物理工程和无线电技术计量科学研究所
官网内容有更新,下面的表格仅供存档。
Адрес 地址 | Порт 端口 | Уровень 层级 | Устройство 设备 | Доступ 使用权 |
---|---|---|---|---|
ntp1.vniiftri.ru | IPv4 UDP 123 | stratum 1 | Meinberg LANTIME M300/MRS | свободный 自由 |
ntp2.vniiftri.ru | IPv4 UDP 123 | stratum 1 | Meinberg LANTIME M300/MRS | свободный 自由 |
ntp3.vniiftri.ru | IPv4 UDP 123 | stratum 1 | Meinberg LANTIME M300/MRS | свободный 自由 |
ntp4.vniiftri.ru | IPv4 UDP 123 | stratum 1 | Symmetricom SyncServer S250i | свободный 自由 |
ntp21.vniiftri.ru | IPv4 UDP 123 | stratum 2 | Linux kernel ntpd 4.2.6 Intel Xeon | свободный 自由 |
ntp1.niiftri.irkutsk.ru | IPv4 UDP 123 | stratum 1 | свободный 自由 | |
ntp2.niiftri.irkutsk.ru | IPv4 UDP 123 | stratum 1 | свободный 自由 | |
vniiftri.khv.ru | IPv4 UDP 123 | stratum 1 | Meinberg LANTIME M300/MRS | свободный 自由 |
vniiftri2.khv.ru | IPv4 UDP 123 | stratum 1 | Meinberg LANTIME M300/MRS | свободный 自由 |
蒙古通信监管委员会
Харилцаа Холбооны Зохицуулах Хороо
Network time protocol - Сүлжээний цагийн сервер
Stratum 1
master.ntp.mn
Stratum 2
slave.ntp.mn
ntp.mn
泰国国家电子与计算机技术中心
Home - NECTEC : National Electronics and Computer Technology Center
clock.nectec.or.th
泰国国家计量研究所
National Institute of Metrology (Thailand)
电气计量部>时间和频率实验室
เวลามาตรฐาน - สถาบันมาตรวิทยาแห่งชาติ
time1.nimt.or.th
time2.nimt.or.th
time3.nimt.or.th
time4.nimt.or.th
time5.nimt.or.th
泰国皇家海军水文部
เวลามาตรฐานประเทศไทย โดยกรมอุทกศาสตร์ กองทัพเรือ
time.navy.mi.th
time2.navy.mi.th
欧洲IP网络资源协调中心
世界五大区域互联网注册机构之一,管理欧洲、中东和中亚地区事务。
ntp.ripe.net
ntp.atlas.ripe.net
互联网系统联盟
clock.isc.org
高校
清华大学
TUNA NTP (网络授时) 服务使用说明 | 清华大学 TUNA 协会
ntp.tuna.tsinghua.edu.cn
中国科学技术大学
基于Google Authenticator二阶段密码验证SSH登录用户端用法
time.ustc.edu.cn
上海交通大学
ntp.sjtu.edu.cn
复旦大学
ntp.fudan.edu.cn
东北大学
一层服务器:
ntp.neu.edu.cn
ntp2.neu.edu.cn
ntp3.neu.edu.cn
二层服务器:
ntp.neu6.edu.cn
clock.neu.edu.cn
ntp.synet.edu.cn
s2f.time.edu.cn
上海大学
网络时钟
http://www.its.shu.edu.cn/sytplb/jcfw/wlsz.htm
http://cms.shu.edu.cn/ntp
ntp.shu.edu.cn
南京大学
ntp.nju.edu.cn
北京邮电大学
time.bupt.edu.cn
集美大学
time.jmu.edu.cn
同济大学
ntp.tongji.edu.cn
大连东软信息学院
大连东软信息学院 - Dalian Neusoft University of Information
ntp.neusoft.edu.cn
CERNET
stratum | 域名 | 地理位置 |
4 | time.edu.cn | 中国北京 |
1 | s1a.time.edu.cn | 中国北京 |
4 | s2c.time.edu.cn | 中国北京 |
2 | s2f.time.edu.cn | 中国辽宁沈阳 |
以下网址已无法访问,引用仅供参考。
http://www.time.edu.cn/mem.htm
CERNET时间服务结构
- 第一级为4个核心节点:清华、北邮、北大、东南大学。
- 第二级直接从第一级获得时间服务。
- 第三级只从第二级节点获得时间服务。
- N级服务器的域名为sN[a-z].time.edu.cn
CERNET时间服务提供者列表
层 域名 地理位置 负责人 邮件 电话 1 s1a.time.edu.cn 北京邮电大学 王振华 wzhdl at bupt.edu.cn 010-62283044-8003 1 s1b.time.edu.cn 清华大学 尹惠实 yhs at cernet.edu.cn 010-62795818-6105 1 s1c.time.edu.cn 北京大学 马皓 mah at pku.edu.cn 010-62753007 1 s1d.time.edu.cn 东南大学 徐加羚 jlxu at njnet.edu.cn 025-3794342-309 1 s1e.time.edu.cn 清华大学 尹惠实 yhs at cernet.edu.cn 010-62795818-6105 2 s2a.time.edu.cn 清华大学 尹惠实 yhs at cernet.edu.cn 010-62795818-6105 2 s2b.time.edu.cn 清华大学 尹惠实 yhs at cernet.edu.cn 010-62795818-6105 2 s2c.time.edu.cn 北京邮电大学 王振华 wzhdl at bupt.edu.cn 010-62283044-8003 2 s2d.time.edu.cn 西南地区网络中心 董茜 appletung at uestc.edu.cn 028-61830330 2 s2e.time.edu.cn 西北地区网络中心 丁惠宁 dhn at xanet.edu.cn 029-2669037 2 s2f.time.edu.cn 东北地区网络中心 毛宇 maoy at neu.edu.cn 024-23966854 2 s2g.time.edu.cn 华东南地区网络中心 瞿庆海 qqh at sjtu.edu.cn 021-62932901-8101 2 s2h.time.edu.cn 四川大学网络管理中心 郑炳伦 zhengbl at scu.edu.cn 028-85414820 2 s2j.time.edu.cn 大连理工大学网络中心 于广辉 ygh at dlut.edu.cn 0411-4708642 2 s2k.time.edu.cn CERNET桂林主节点 胡进坤 jinkun at mailbox.gxnu.edu.cn 0773-5845246 2 s2m.time.edu.cn 北京大学 马皓 mah at pku.edu.cn 010-62753007
http://www.time.edu.cn/str.htm
CERNET时间服务结构规划
系统结构的规划和管理
- 从上至下分为三级:核心节点,地区网络节点和省级网络节点。
- 第一级为4个核心节点,其间进行peer。
- 第二级为10个地区级的网络节点,它们直接从第一级获得时间服务。
- 第三级为28个省级网络节点,它们只从第二级节点获得时间服务。
- 关键系统服务,如路由等,由核心节点提供服务。
- 校园网可向第一级节点直接请求服务,但由分配的其地区内的几个临近节点提供服务。
- 校园网也可向地区内的临近节点直接请求服务。
东京大学
ntp.nc.u-tokyo.ac.jp
京都大学
NTP(Time synchronization) | On-campus Network(KUINS) | 京都大学情報環境機構
ntp.kuins.kyoto-u.ac.jp
东北大学(日本)
ntp.tohoku.ac.jp
ntp1.tohoku.ac.jp
ntp2.tohoku.ac.jp
庆应义塾大学
https://www.st.itc.keio.ac.jp/en/network_ntp_st.html
Stratum | Host Name | IP Address | |
Primary NTP Server | 2 | ntp1.st.keio.ac.jp | 131.113.1.3 |
Backup NTP Server | 2 | ntp2.st.keio.ac.jp | 131.113.1.8 |
当你用ntpdate 设置系统时间时,请确保尽可能使用主机名而不是上面的IP地址。
请在 xntpd 中使用上面的 IP 地址。
广岛大学
時刻サービス(NTP)について | すべてのサービス | 広島大学情報メディア教育研究センター
ntp.hiroshima-u.ac.jp
福冈大学
这项服务将在不久的将来停止。如果您正在使用此服务,请更改设置。
https://www.itc.fukuoka-u.ac.jp/i/service/special/public_ntp_en
133.100.9.2
参考资料
[1]List of Top Public Time Servers
[2]List of Top Public Time Servers
[2]NTP Server Online Tester