|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
ntpd
Hi I would ask about ntpd .As I'm rookie I do not understand why ntpd are listen on a lot of server .This server for my are strange .Why 4 but not 1 .
Code:
# fstat|grep ':123' _ntp ntpd 6942 6* internet dgram udp 37.8.230.0:17590 <-> 62.148.67.62:123 _ntp ntpd 6942 8* internet dgram udp 37.8.230.0:3559 <-> 149.156.44.126:123 _ntp ntpd 6942 9* internet dgram udp 37.8.230.0:11883 <-> 188.165.17.91:123 _ntp ntpd 6942 10* internet dgram udp 37.8.230.0:38657 <-> 149.156.70.5:123 Last edited by ocicat; 26th October 2015 at 03:56 PM. Reason: Please use [code] & [/code] tags when posting command output. |
|
||||
The protocol is designed to poll multiple servers, in order to account for network congestions and delays. The typical client will poll 3 or more servers. The OpenBSD default client configuration will use all IP addresses resolved by pool.ntp.org
See: https://en.wikipedia.org/wiki/Network_Time_Protocol Last edited by jggimi; 26th October 2015 at 03:43 PM. Reason: added pool |
|
|||
The default configuration uses the pool.ntp.org servers. There are mutliple IPs returned from DNS with that domain name and using the 'servers' directive in the config, it will use all of them.
If you only want to use one, use the 'server' directive and whatever time server you want. Though, I usually use at least 2 servers so as not to have to completely trust one. Tim. |
|
|||
Quote:
Multiple connections helps ensure reliability of the service provided by the protocol. Last edited by ocicat; 26th October 2015 at 04:01 PM. Reason: clarify "reliability" |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ntpd when improperly set .. | daemonfowl | OpenBSD General | 4 | 30th March 2012 08:30 PM |
FreeBSD Three FreeBSD security anouncements (Bind, ntpd and ZFS) | J65nko | News | 0 | 6th January 2010 11:30 PM |
Starting ntpd in cron for machines not always connected to the Net | J65nko | Guides | 1 | 28th November 2009 03:49 AM |
Local NTPd Server "bad peer" | plexter | OpenBSD General | 24 | 9th September 2009 04:48 PM |
ntpd strata too high error | map7 | FreeBSD General | 0 | 17th June 2008 11:20 PM |