NTP version 4 Release Notes HP-UX 11i v3 (5900-3073, March 2013)

ntpdc
The NTP daemon control utility in NTP v4 is ntpdc, not xntpdc as in NTP v3. The ntpdc binary
is used to query the ntpd daemon about its current state and to request changes in that state. The
ntpdc uses NTP mode 7 packets to communicate with the NTP server. The new command line
arguments are:
ntpq-4: Forces DNS resolution of host- name that follows -4 in the command line to the IPv4
namespace.
ntpq-6: Forces DNS resolution of host- name that follows -6 in the command line to the IPv6
namespace.
ntpdate
Now, the single step time change functionality of ntpdate is also available with ntpd through
-q option. For details, see ntpd(1m).
ntptrace
The ntptrace is changed to a Perl script in NTP v4. The script uses the ntpq utility program to
follow the chain of NTP servers from a given host back to the primary time source. Each of the
servers in the server chain must implement the NTP Control and Monitoring Protocol specified in
RFC 1305, and enable NTP Mode 6 packets for the proper functioning of ntptrace. The
ntptrace resolves only IPv4 addresses. The Perl version, which supports the Socket module is
mandatory for ntptrace to work.
ntpq
The ntpq utility program is used to monitor the ntpd operations and determine performance. It
uses the standard NTP mode 6 control message formats defined in Appendix B of the NTP v3
specification RFC 1305. The same formats are used in NTP v4 with the exception of some variables.
ntp-keygen
This program generates cryptographic data files used by the NTP v4 authentication and identity
schemes. It can generate message digest keys used in symmetric key cryptography. Also, if the
OpenSSL software library is installed, it can generate host keys, sign keys, certificates, and identity
keys and parameters used by the Autokey Public Key cryptography.
The following table describes the manpages distributed with the NTP v4 binaries:
Table 1 NTP v4 manpges
DescriptionManpage
Sets and maintains the system time of day in synchronism with
Internet standard time servers.
ntpd (1m)
Queries the ntpd daemon about its current state and requests
changes to that state.
ntpdc (1m)
Monitors the ntpd operations and determines performance.ntpq (1m)
Steps time to synchronize with the server.ntpdate (1m)
Network Time Protocol Configuration File.ntp.conf (4)
Generates public and private keys.ntp-keygen (1m)
Utilities
The new utilities that are available in NTP v4 are described in this section.
6 What is new in NTP v4 ?