cancel
Showing results for 
Search instead for 
Did you mean: 
spelchk
Mission Specialist
Mission Specialist
  • 2,094 Views

Chronyc sources not showing source

Jump to solution

I seek knowledge..

After editing /etc/chrony.conf and adding for example: server time.google.com iburst 

systemctl restart chronyd

systemctl status chronyd (active running)

chronyc sources

the source does not appear. How or where do I troubleshoot this example?

Labels (1)
1 Solution

Accepted Solutions
Fran_Garcia
Starfighter Starfighter
Starfighter
  • 2,066 Views

What is the output of "chrony sources" in your environment? 

 

➜ host 216.239.35.12
12.35.239.216.in-addr.arpa domain name pointer time4.google.com.

➜ host 216.239.35.4
4.35.239.216.in-addr.arpa domain name pointer time2.google.com.

➜ host 216.239.35.0
0.35.239.216.in-addr.arpa domain name pointer time1.google.com.


➜ host 216.239.35.8
8.35.239.216.in-addr.arpa domain name pointer time3.google.com.

Note that time.google.com resolves to various diffent DNS entries / timeservers:

 

➜ host time.google.com
time.google.com has address 216.239.35.12
time.google.com has address 216.239.35.4
time.google.com has address 216.239.35.0
time.google.com has address 216.239.35.8

 

# chronyc sources
MS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
^x time1.google.com 1 6 37 60 -2324ms[-2324ms] +/- 15ms

 

You don't see "time.google.com", but "time1.google.com" because it's the chosen DNS record at chronyd restart time, but it's otherwise listed.

 

In this case, you probably should be using "pool time.google.com" instead of "server", anyhow.

View solution in original post

1 Reply
Fran_Garcia
Starfighter Starfighter
Starfighter
  • 2,067 Views

What is the output of "chrony sources" in your environment? 

 

➜ host 216.239.35.12
12.35.239.216.in-addr.arpa domain name pointer time4.google.com.

➜ host 216.239.35.4
4.35.239.216.in-addr.arpa domain name pointer time2.google.com.

➜ host 216.239.35.0
0.35.239.216.in-addr.arpa domain name pointer time1.google.com.


➜ host 216.239.35.8
8.35.239.216.in-addr.arpa domain name pointer time3.google.com.

Note that time.google.com resolves to various diffent DNS entries / timeservers:

 

➜ host time.google.com
time.google.com has address 216.239.35.12
time.google.com has address 216.239.35.4
time.google.com has address 216.239.35.0
time.google.com has address 216.239.35.8

 

# chronyc sources
MS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
^x time1.google.com 1 6 37 60 -2324ms[-2324ms] +/- 15ms

 

You don't see "time.google.com", but "time1.google.com" because it's the chosen DNS record at chronyd restart time, but it's otherwise listed.

 

In this case, you probably should be using "pool time.google.com" instead of "server", anyhow.

Join the discussion
You must log in to join this conversation.