Difference between revisions of "Redhat:NTS config"

From Define Wiki
Jump to navigation Jump to search
(Created page with "== NTP Server Configuration == The ntp.conf file is also used to configure a Time server. === driftfile === The first directive is "driftfile". This defines the file us...")
 
Line 19: Line 19:
  
  
====restrict client ====
+
* restrict server
 +
 
 +
When all of these restrictions are combined they will not work for a Time Server. 
 +
 
 +
Specifically a time server has to synchronize with peers.  So obviously 'nopeers' should be removed.
 +
 
 +
To allow other systems to syncronise with your server 'noquery' should be revolved.
  
 
==== restrict server ====
 
==== restrict server ====

Revision as of 19:32, 28 August 2013

NTP Server Configuration

The ntp.conf file is also used to configure a Time server.


driftfile

The first directive is "driftfile". This defines the file used to monitor errors in the local system clock.


restrict

The "restict" directive can help protect the NTP server. By default it works on ipv4, but the -6 flag works on ipv6 networks.

restrict  default kod nomodify notrap nopeer noquery
restrict -6 default kod nomodify notrap nopeer noquery


  • restrict server

When all of these restrictions are combined they will not work for a Time Server.

Specifically a time server has to synchronize with peers. So obviously 'nopeers' should be removed.

To allow other systems to syncronise with your server 'noquery' should be revolved.

restrict server