Why are you dumping all of this here? What is your problem?
If you do not want the hostnames displayed, read the man chronyc file .................. Client commands dns option The dns command configures how hostnames and IP addresses are resolved in chronyc. IP addresses can be resolved to hostnames when printing results of sources, sourcestats, tracking and clients commands. Hostnames are resolved in commands that take an address as argument. There are five options: dns -n Disables resolving IP addresses to hostnames. Raw IP addresses will be displayed. ............. Also using IP addresses instead of hostbnames is dangerous, as the server owner could change the IP on his ntp host, and you could be out of luck. There is nothing that prevents them from doing so. On Fri, 6 May 2022, B. Cook wrote:
[CAUTION: Non-UBC Email](I run void btw..) chronyc (chrony) version 4.2 (+READLINE +SECHASH +IPV6 -DEBUG) This is a bare metal machine; not a vm. ``` grep -Ev "^#|^$" /etc/chrony.conf server 209.51.161.238 iburst server 216.239.35.0 iburst server 162.159.200.123 iburst server 129.134.25.123 iburst logchange 0.5 driftfile /var/lib/chrony/drift ntsdumpdir /var/lib/chrony/ rtcsync makestep 1 -1 minsources 2 local stratum 2 bindaddress 172.16.254.241 allow 172.16.0.0/16 allow 10.20.0.0/16 allow 10.120.0.0/16 ``` and ``` cat /etc/sv/chronyd/run #!/bin/sh install -d -m750 -o chrony -g chrony /var/run/chrony exec chronyd -n -L 1 -f /etc/chrony.conf -u chrony ``` Using dnscrypt-proxy and its cloaking features.. I grab most timeservers (*.pool.ntp.org, time.windows.com, time.apple.com, time-ios.apple.com, etc.. ) and redirect them to our internal host, presently 172.16.254.241 Using wireshark to show we went to the correct server.. and got time.. image.png (great) working.. but ``` chronyc clients -n | wc -l 3299 ``` but where am I?
We sure do not know.
``` # chronyc clients -n | grep 10.20.28 10.20.28.33 1 0 - - 15h 0 0 - - 10.20.28.10 93 0 10 - 719 0 0 - - ``` /flushdns, sync time, /displaydns.. all looks good.. image.png Manually toggled/sync'd time on Windows10.. Still not there.. again looks like I made it.. image.png and still not there..
Where do you want to be?
I just restarted..
If you just restarted then chrony time is not going to be very good.
``` ~# chronyc tracking chronyc sources chronyc sourcestats -v Reference ID : 8186197B (time3.facebook.com) Stratum : 2 Ref time (UTC) : Fri May 06 12:29:17 2022 System time : 0.000049408 seconds fast of NTP time Last offset : +0.000076917 seconds RMS offset : 0.000076917 seconds Frequency : 7.522 ppm fast Residual freq : +2.200 ppm Skew : 0.125 ppm Root delay : 0.005109369 seconds Root dispersion : 0.000448218 seconds Update interval : 64.2 seconds Leap status : Normal MS Name/IP address Stratum Poll Reach LastRx Last sample =============================================================================== ^? clock.nyc.he.net 1 6 122 109 -75us[+1643ns] +/- 38ms ^- time1.google.com 1 6 37 51 -1514us[-1514us] +/- 14ms ^- time.cloudflare.com 3 6 37 51 +101us[ +101us] +/- 21ms ^* time3.facebook.com 1 6 37 52 -1539ns[ +75us] +/- 2716us .- Number of sample points in measurement set. / .- Number of residual runs with same sign. | / .- Length of measurement set (time). | | / .- Est. clock freq error (ppm). | | | / .- Est. error in freq. | | | | / .- Est. offset. | | | | | | On the -. | | | | | | samples. \ | | | | | | | Name/IP Address NP NR Span Frequency Freq Skew Offset Std Dev ============================================================================== clock.nyc.he.net 3 3 10 +1.845 74795.320 -1304us 452us time1.google.com 5 4 71 -25.346 172.602 -2915us 355us time.cloudflare.com 5 4 71 +4.294 56.624 +319us 243us time3.facebook.com 5 3 70 +2.200 28.450 +113us 162us ``` (confused how I used IPs but it converts to a name..)
Becasue that is what chrony does unless you tell it not to .
I'm open to suggestions, and greatly appreciate any attention anyone feels this is worth..
Suggestions for what?
I literally have no problem, but I was stepping through a problem and looking for something and couldn't find the host..
Education.