Hosting
Servers
Web Development Pricing
Resources
Get started → Log in
Home/Blog/NTP server India

NTP server India:
the right time source, and how to set it.

28 November 20267 min readBy the RapidServer team

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 nameRun byUse it for
time.nplindia.inCSIR-NPL, India's national time labPrimary source, synced to UTC(NPLI)
time.nplindia.orgCSIR-NPLSecond NPL name, same service
in.pool.ntp.orgNTP Pool ProjectBackup, picks servers in India
0.in.pool.ntp.org to 3.in.pool.ntp.orgNTP Pool ProjectWhen a client needs several named servers
time.windows.comMicrosoftDefault 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:

cmd (administrator)
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):

/etc/systemd/timesyncd.conf
[Time]
NTP=time.nplindia.in time.nplindia.org
FallbackNTP=in.pool.ntp.org
shell
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:

/etc/chrony/chrony.conf
server time.nplindia.in iburst
server time.nplindia.org iburst
pool in.pool.ntp.org iburst maxsources 2
shell
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:

  1. Log in to the DVR or NVR web page or local menu as admin.
  2. Open the time settings, often under System, General or Date and Time.
  3. Set the time zone to UTC+05:30 (India Standard Time). The wrong zone looks like a drift of hours even when NTP works.
  4. Turn on NTP or time sync, enter time.nplindia.in as the server and keep port 123.
  5. Set the DVR's DNS server, since a hostname needs DNS, and allow outbound UDP 123 on the router.
  6. 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:

/etc/chrony/chrony.conf
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:

VPS firewall
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.

Run your own NTP server in India.

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 plans

Questions

What is the NTP server for India?+
India's official time source is run by CSIR-NPL, with the public names 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?+
NPL gives two domain names, 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?+
Enter 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?+
NPL describes it as a public NTP service, and we saw no charge listed. For a large fleet of devices, ask NPL using the contacts on its NTP page, or run your own server that syncs to it.
Does NTP use UDP or TCP?+
UDP, on port 123. Allow outbound UDP 123 on a firewall for clients, and inbound UDP 123 only if you run an NTP server.
Can I run an NTP server on a VPS?+
Yes. Install chrony, sync it to the NPL servers, add an 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?+
Pehle DVR mein time zone UTC+05:30 set kijiye. Phir NTP on kijiye, server mein time.nplindia.in daaliye, port 123 rakhiye aur DNS check kijiye. Router par UDP 123 bahar jaane dijiye, phir sync-now dabaiye.

Keep every clock right.

KVM VPS with full root, a dedicated IP and daily backups in Mumbai or Delhi NCR, billed monthly in rupees with a GST invoice.