क्लाइंट को कॉन्फ़िगर करना
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
Apple macOS (OS X)
- System Preferences खोलें.
- "तारीख और समय" पैनल चुनें.
- बदलाव करने के लिए, लॉक पर क्लिक करें.
- अपना पासवर्ड डालें.
- "तारीख और समय" को चुनें.
- "तारीख और समय अपने-आप सेट होने की सुविधा" के बगल में मौजूद बॉक्स में,
time.google.com
डालें.
Cisco IOS और NX-OS
router# config t
Enter configuration commands, one per line. End with CNTL/Z.
router(config)# no ntp server
router(config)# ntp server time1.google.com
router(config)# ntp server time2.google.com
router(config)# ntp server time3.google.com
router(config)# ntp server time4.google.com
router(config)# copy running-config startup-config
Google Compute Engine
Compute Engine से Google Public NTP का इस्तेमाल किया जा सकता है. हालांकि, प्राइवेट क्लाउड सर्वर से आपको बेहतर परफ़ॉर्मेंस मिलेगी. ये सर्वर, एक ही समय पर एक ही स्मियर का इस्तेमाल करते हैं. इन निर्देशों का पालन करें.
Juniper Junos
एनटीपी को [edit system ntp]
हैरारकी लेवल पर कॉन्फ़िगर किया जाता है:
system {
ntp {
server time1.google.com;
server time2.google.com;
server time3.google.com;
server time4.google.com;
}
}
Linux
ntpd
या chrony
- अपने पसंदीदा टेक्स्ट एडिटर का इस्तेमाल करके,
/etc/ntp.conf
या /etc/chrony/chrony.conf
(आप जिस सेवा का इस्तेमाल कर रहे हैं उसके हिसाब से) में बदलाव करें.
server
से शुरू होने वाली किसी भी लाइन को हटाएं या उस पर टिप्पणी करें, ताकि आपकी मशीन, धुंधले और बिना धुंधले सर्वर को मिक्स करने की कोशिश न करे.
ये लाइनें जोड़ें:
server time1.google.com iburst
server time2.google.com iburst
server time3.google.com iburst
server time4.google.com iburst
sudo service ntp reload
या sudo
service chrony force-reload
का इस्तेमाल करके, NTP/chrony डेमॉन को रीस्टार्ट करें.
systemd-timesyncd
/etc/systemd/timesyncd.conf
में बदलाव करें
[Time]
ब्लॉक के कॉन्टेंट को इस पर सेट करें:
[Time]
NTP=
FallbackNTP=time.google.com
NTP=
को अनकमेंट करके, इसे खाली स्ट्रिंग पर असाइन करने से, एनटीपी सर्वर की सूची रीसेट हो जाती है. इसमें इंटरफ़ेस के हिसाब से असाइन किए गए सर्वर भी शामिल होते हैं. इससे, टाइम सर्वर को गलती से एक से दूसरे पर स्विच होने से रोका जा सकता है.
Google Public NTP को फ़ॉलबैक सर्वर के तौर पर कॉन्फ़िगर करने से, इसे सिर्फ़ एनटीपी सर्वर के तौर पर चुना जाएगा.
ज़रूरी अनुमतियों वाले उपयोगकर्ता के तौर पर, systemctl restart
systemd-timesyncd.service
का इस्तेमाल करके systemd-timesyncd
को फिर से शुरू करें
पुष्टि करें कि आपका सिस्टम, timedatectl
show-timesync | grep ServerName
के साथ Google Public NTP का इस्तेमाल कर रहा है. अगर इसे सही तरीके से कॉन्फ़िगर किया गया है, तो आउटपुट में यह दिखेगा: ServerName=time.google.com
Microsoft Windows
- कंट्रोल पैनल खोलें.
- "तारीख और समय" आइकॉन पर क्लिक करें.
- "इंटरनेट टाइम" टैब चुनें. (अगर आपका पीसी किसी डोमेन का हिस्सा है, तो यह विकल्प उपलब्ध नहीं होगा. ऐसे में, यह डोमेन कंट्रोलर के साथ समय को सिंक करेगा. Google Public NTP का इस्तेमाल करने के लिए, कंट्रोलर को कॉन्फ़िगर किया जा सकता है.)
- "सेटिंग बदलें..." बटन पर क्लिक करें.
- "इंटरनेट टाइम सर्वर के साथ सिंक्रनाइज़ करें" बॉक्स को चुनें.
- "सर्वर:" के बगल में,
time.google.com
डालें.
Microsoft Windows Server
अपनी रजिस्ट्री अपडेट करने के लिए, Microsoft के निर्देशों का पालन करें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThis guide provides instructions for configuring various operating systems and network devices to utilize Google Public NTP servers for time synchronization.\u003c/p\u003e\n"],["\u003cp\u003eGoogle Public NTP offers improved performance compared to other NTP sources, especially within Google Compute Engine.\u003c/p\u003e\n"],["\u003cp\u003eThe configurations typically involve specifying \u003ccode\u003etime.google.com\u003c/code\u003e or a series of Google NTP server addresses (time1.google.com, time2.google.com, etc.) in your system's time settings or configuration files.\u003c/p\u003e\n"],["\u003cp\u003eDepending on your platform, you may need to restart specific services or daemons for the changes to take effect.\u003c/p\u003e\n"],["\u003cp\u003eFor domain-joined Windows PCs and Windows Servers, special considerations or registry modifications may be necessary.\u003c/p\u003e\n"]]],["To configure systems to use Google Public NTP, users must specify `time.google.com` as the NTP server in their system settings. On macOS, this involves adjusting the \"Date & Time\" panel. Cisco devices use commands such as `no ntp server` and `ntp server`. Linux requires editing configuration files like `/etc/ntp.conf` or `/etc/systemd/timesyncd.conf`, followed by service restarts. Windows involves adjusting the \"Internet Time\" settings, while Windows Server requires registry modifications. Juniper devices modify the ntp settings under the system configuration.\n"],null,["# Configuring Clients\n\nApple macOS (OS X)\n------------------\n\n1. Open System Preferences.\n2. Choose the \"Date \\& Time\" panel.\n3. Click the lock to make changes.\n4. Enter your password.\n5. Select \"Date \\& Time\".\n6. In the box next to \"Set date and time automatically\", enter `time.google.com`.\n\nCisco IOS and NX-OS\n-------------------\n\n router# config t\n Enter configuration commands, one per line. End with CNTL/Z.\n router(config)# no ntp server\n router(config)# ntp server time1.google.com\n router(config)# ntp server time2.google.com\n router(config)# ntp server time3.google.com\n router(config)# ntp server time4.google.com\n router(config)# copy running-config startup-config\n\nGoogle Compute Engine\n---------------------\n\nAlthough you can use Google Public NTP from Compute Engine, you will get better\nperformance from the private cloud servers, which serve the same time using the\nsame smear. Follow\n[these instructions](https://cloud.google.com/compute/docs/instances/configure-ntp).\n\nJuniper Junos\n-------------\n\nNTP is configured at the `[edit system ntp]` hierarchy level: \n\n system {\n ntp {\n server time1.google.com;\n server time2.google.com;\n server time3.google.com;\n server time4.google.com;\n }\n }\n\nLinux\n-----\n\n### `ntpd` or `chrony`\n\n1. Edit `/etc/ntp.conf` or `/etc/chrony/chrony.conf` (depending on the service you're using) using your favorite text editor.\n2. Remove or comment out any lines starting with `server`, to prevent your machine from trying to mix smeared and non-smeared servers.\n3. Add the lines:\n\n server time1.google.com iburst\n server time2.google.com iburst\n server time3.google.com iburst\n server time4.google.com iburst\n\n4. Restart the NTP/chrony daemon using `sudo service ntp reload` or `sudo\n service chrony force-reload`.\n\n### `systemd-timesyncd`\n\n1. Edit `/etc/systemd/timesyncd.conf`\n2. Set the content of the `[Time]` block to:\n\n [Time]\n NTP=\n FallbackNTP=time.google.com\n\n Leaving `NTP=` uncommented and assigned to an empty string resets the list\n of NTP servers, including any per-interface assignments. This prevents\n inadvertently moving between smeared and un-smeared time servers.\n Configuring Google Public NTP as the fallback server will cause it to be\n selected as the only NTP server.\n3. Restart `systemd-timesyncd` using `systemctl restart\n systemd-timesyncd.service` as a user with appropriate permissions\n\n4. Verify that your system is using Google Public NTP with `timedatectl\n show-timesync | grep ServerName`. If successfully configured, the output\n will show: `ServerName=time.google.com`\n\nMicrosoft Windows\n-----------------\n\n1. Open the Control Panel.\n2. Click the \"Date and Time\" icon.\n3. Choose the \"Internet Time\" tab. (This will not be available if your PC is part of a domain. In that case, it will synchronize time with the domain controller. You can configure the controller to use Google Public NTP.)\n4. Click the \"Change settings...\" button.\n5. Check the box \"Synchronize with an Internet time server\".\n6. Next to \"Server:\", enter `time.google.com`.\n\nMicrosoft Windows Server\n------------------------\n\nFollow [Microsoft's instructions](https://support.microsoft.com/en-us/kb/816042)\nto update your registry."]]