How do I query a Domain Controlers NTP service from a linux box?

1

I need to confirm that a Domain Controller is acting as a NTP time server for non windows devices and servers. I figure there must be a command in linux that will query an NTP server and see if it is accessible and serving the right time.

Wally Kroeker

Posted 2015-10-08T16:01:44.467

Reputation: 13

Answers

0

If you are on a linux client with ntp installed & configured to point at the Windows DC you can do;

ntpq -pcrv which will return all the info. If you need help to understand it please post it here and we can help.

or ntpdate -q <ip of dc> which will do a 1 time query of the time/date but NOT set the client.

user3788685

Posted 2015-10-08T16:01:44.467

Reputation: 377