I've 2 endpoints (here PCs) with Linux OS versions connected to a publicly NTP Time Master (for e.g. server 0.in.pool.ntp.org). Time on those 2 Linux PCs are properly syncing with that ntp pool server. Even time is same on 2 Linux PCs. Perfect, everything is fine.
I've an unique requirement in testing to check whether -
- "Network device shall sync their clocks to an NTP Server as per their configured NTP client settings."
Now I want to know - what actual time is on NTP Server (here it's server 0.in.pool.ntp.org).
To know the time on Linux machine, I can run - timedatectl
command after logging into Linux PC.
Since, server 0.in.pool.ntp.org is obviously a Public NTP pool server, of course anyone can't login simply.
How to know the time on publicly available NTP Pool Servers without logging in to that ?
Is there any command exist to fetch just the time/date from NTP Server, without logging into that?
It would help me a lot to provide objective evidence (as proof) between - time on those 2 Linux PCs and time on server 0.in.pool.ntp.org are SAME and I can PASS the test for NTP feature.