Which NTP server should you use in India?
Use India's official time source from CSIR-NPL: time.nplindia.in or time.nplindia.org. Add the India pool, in.pool.ntp.org, as a backup. Both are free public servers. For many devices on one network, a VPS in Mumbai (BOM1) or Delhi NCR (DEL1) can run your own NTP server, from ₹581/mo plus 18% GST.
Why correct time matters
NTP (Network Time Protocol) keeps a device clock in step with a reference clock over the network. A clock that drifts by minutes causes quiet, expensive problems:
- Logs: events from two servers cannot be lined up, so an incident takes far longer to trace.
- TLS and logins: certificates have start and end times, and one-time codes depend on the clock, so a wrong clock can make valid ones fail.
- CCTV and DVR: footage stamped with the wrong time is hard to use as evidence or to match with other records.
- Attendance devices: punch times feed payroll, so drift becomes disputes.
- Billing and cron jobs: invoices, reports and schedules run at the wrong moment.
NPL's own NTP page adds that CERT-In has directed service providers, data centers and government organisations to sync their ICT infrastructure to NTP servers from NIC, NPL or another accurate time source.
Public NTP servers for India
These names come from the official pages linked below. Use hostnames, not IP addresses, so the service can move servers behind the name.
| Server name | Run by | Use it for |
|---|---|---|
time.nplindia.in | CSIR-NPL, India's national time lab | Primary source, synced to UTC(NPLI) |
time.nplindia.org | CSIR-NPL | Second NPL name, same service |
in.pool.ntp.org | NTP Pool Project | Backup, picks servers in India |
0.in.pool.ntp.org to 3.in.pool.ntp.org | NTP Pool Project | When a client needs several named servers |
time.windows.com | Microsoft | Default on a stand-alone Windows PC |
Sources: NPL's Time and Frequency Metrology page, the NTP Pool India zone and Microsoft's Windows Time tools and settings. NPL lists no IP addresses, and neither do we. You can compare a device with IST on NPL's web clock. NIC also runs time servers, but we could not verify their names on a page, so we leave them out.
Set NTP on Windows
Open Command Prompt as administrator. Microsoft's w32tm tool sets the peer list; 0x8 is the client flag and 0x2 (UseAsFallbackOnly) marks a fallback server, as in Microsoft's two-server example:
w32tm /config /manualpeerlist:"time.nplindia.in,0x8 time.nplindia.org,0x2" /syncfromflags:manual /update w32tm /resync w32tm /query /status w32tm /query /source
The last two lines should show your NPL server as the source. NTP uses UDP port 123, so allow it outbound on the office firewall. Domain-joined PCs take time from the domain, so set the server on the domain controller instead.
Set NTP on Linux
Ubuntu's time sync guide uses systemd-timesyncd, a simple client. Edit /etc/systemd/timesyncd.conf (or a file in timesyncd.conf.d):
[Time] NTP=time.nplindia.in time.nplindia.org FallbackNTP=in.pool.ntp.org
sudo systemctl restart systemd-timesyncd timedatectl timesync-status
If chrony is installed, timedatectl steps back and chrony does the work. Chrony suits servers that need steadier time. Add these lines to /etc/chrony/chrony.conf on Ubuntu, per the chrony.conf manual, then restart it:
server time.nplindia.in iburst server time.nplindia.org iburst pool in.pool.ntp.org iburst maxsources 2
sudo systemctl restart chrony chronyc sources
A * beside a name in chronyc sources marks the server it is synced to. Set the timezone separately; see the first 30 minutes in Ubuntu VPS in India.
Set NTP on a CCTV DVR or NVR
Menus differ by brand, so these steps are generic. Check your manual for exact names:
- Log in to the DVR or NVR web page or local menu as admin.
- Open the time settings, often under System, General or Date and Time.
- Set the time zone to UTC+05:30 (India Standard Time). The wrong zone looks like a drift of hours even when NTP works.
- Turn on NTP or time sync, enter
time.nplindia.inas the server and keep port 123. - Set the DVR's DNS server, since a hostname needs DNS, and allow outbound UDP 123 on the router.
- Use the sync-now button if there is one, then check the on-screen clock.
If the DVR only accepts an IP address, or has no internet access, point it at your own NTP server on the LAN or on a VPS (next section). Cameras can then take time from the NVR.
When to run your own NTP server on a VPS
The public servers cover most people. Run your own when many devices must agree on time, for example DVRs, attendance machines and servers across several offices, because it gives you one place to monitor and change. It also helps when devices cannot reach the public internet but can reach your VPS. We do not offer a public NTP service; this is a server you build and control on your own VPS.
On a VPS, install chrony, which syncs upstream and also answers clients. In /etc/chrony/chrony.conf, keep your upstream lines and add an allow rule for the client addresses only, as Ubuntu's chrony serving guide describes. Use your office's public IP, ideally a static one:
server time.nplindia.in iburst server time.nplindia.org iburst allow 203.0.113.25
NTP runs on UDP 123, so open only that port, only for your clients. With ufw, restart chrony and check it:
sudo ufw allow from 203.0.113.25 to any port 123 proto udp sudo systemctl restart chrony chronyc sources
You can add the same rule in the network firewall in the client area; see our firewall guide. Avoid a bare allow with no address, which lets anyone query the server. Then enter the VPS IP in each device. Pick the city nearest your devices: Mumbai (BOM1) for western and southern India, Delhi NCR (DEL1) for the north, Noida included, as we have no separate Noida data center. A dedicated IP keeps the address fixed. The VPS is ready a few minutes after payment, with daily backups kept 7 days and support 24/7.
A KVM VPS with full root, a dedicated IP and daily backups kept 7 days in Mumbai or Delhi NCR, ready a few minutes after payment, from ₹581/mo.
See VPS plansQuestions
What is the NTP server for India?+
time.nplindia.in and time.nplindia.org. The India pool, in.pool.ntp.org, is a good backup.What is the NPL NTP server address?+
time.nplindia.in and time.nplindia.org, with multiple server stacks behind them. It does not list IP addresses, so use the names.Which NTP server should I use for CCTV in India?+
time.nplindia.in in the DVR or NVR's NTP setting, keep port 123, set the time zone to UTC+05:30 and check the DVR has DNS and internet access. If it has none, use an NTP server on your own network.Is the NPL NTP server free to use?+
Does NTP use UDP or TCP?+
Can I run an NTP server on a VPS?+
allow line for your clients and open UDP 123 for them only. RapidServer VPS plans start from ₹581/mo plus 18% GST, but we do not provide a public NTP service.DVR ka time galat aa raha hai, kya karein?+
time.nplindia.in daaliye, port 123 rakhiye aur DNS check kijiye. Router par UDP 123 bahar jaane dijiye, phir sync-now dabaiye.