set the NTP server as a domain name rather than an IP address
domain name is valid and NTP server exists On entering the command set' ntp server <domain-name> ' the Netscreen returns with the error message Can't set NTP server <domain-name>
The command get DNS host cache ' will show the ntp server IP address immediately after entering the command.
One cause of this error is that DNS is not correctly configured on the box. This is required on the NTP server entry
Set the DNS server first. Test by issuing the command: get' dns name <domain-name> ' [Enter]
Below is the' results received if DNS configuration is not done prior to configuring ntp:
Below is the' results received if DNS configuration is' done prior to configuring ntp:
ns25-> set' dns host dns1 194.72.6.57 ns25-> set' ntp server canon.inria.fr ' ' ' ns25-> get ntp ntp is enabled ntp server name is "canon.inria.fr " ntp request interval is 1 minutes. ntp time should' be synced to peer unit