[ntp:questions] 3 Questions about setting up NTP

Unruh unruh-spam at physics.ubc.ca
Tue Apr 8 18:52:34 UTC 2008

unix2266 at charter.net (unix2266) writes:

> I'm setting up a new NTP server to sync time for our network. I have one Linux server that needs to point to that NTP server
> My 3 questions are:
> 1. I added the IP address for the NTP server to the "/etc/hosts" file on the Linux server. Is that all i need to do to make the Linux server point to the NTP server?

Yup. If your ntp server was in some dns server, you did not even have to do

> 2. After pointing the Linux server to the NTP server, do i need to reboot the Linux server or restart any daemon on the Linux server? in other words, what do i need to do to make sure the changes i made in the "/etc/hosts" took affect?

Nope. YOu do not need to do anything. the hosts file is reread every time
the system needs to do an address lookup.

> 3. Is there a way to test the NTP server to make sure it interact with the Linux server & will work fine if i have a timing issue on the Linux server? I want to test it so if something happens for real i don't look like a dummy

ntpq -p
will show if your ntp is getting to the server. 

> Thanks Folks in advance


More information about the questions mailing list