答复: [chrony-users] question about chrony-DNS |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
Version 3.2 is a bit old, thanks for your reply;
Of course, we've tried ping, nslookup, all of which recognize the DNS,
Log of nslookup
[root@test-hcso-od sftp ~]nslookup ntp.od.safaricom.net
Server: 100.125.1.132
Address: 100.125.1.132853
Non-authoritative answer:
Name:I ntp.od.safaricom.net
Address: 100.125.1.19
Log of chronyd -d -d
[root@test-hcso-od-sftp ~]# chronyd -d 2023-03-29TO9:20:39Z main.c:502:(main) chronyd version 3.2 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER +SECHASH +SIGND +AS YNCDNS +IPV6 +DEBUG)
2023-03-29T09:20:39Z conf.c:412:(CNF ReadFile) Reading /etc/chrony.conf
2023-03-29T09:20:39Z util.c:1236:(UTI_OpenFile) Removed /var/run/chronyd.pid 5.4.11
2023-03-29T09:20:39Z util.c:1252:(UTI_OpenFile) Opened /var/run/chronyd.pid fd-3 mode-W 5.4.11
2023-03-29TO9:20:39Z local.c:149:(calculate_sys_precision) Clock precision 0.000000026 (-25)
2023-03-29T09:20:39Z sys_linux.c:317:(get version specific details) Linux kernel major=3 minor-10 patch-0
2023-03-29T09:20:39Z sys_linux.c:338:(get_version_specific details) hz-100 nominal_tick-10000 max_tick bias-1000
2023-03-29T09:20:397 local.c:663:(lcl RegisterSystemDrivers) Local freq=-5.439ppm
2023-03-29T09:20:39Z util.c:1274:(UTI_DropRoot) Dropped root privileges: UID 998 GID 996 mate
2023-03-29TO9:20:39Z reference.c:211:(REF_Initialise) Frequency -5.439 +/- 1000000.000 ppm read from /var/lib/chrony/drift
2023-03-29T09:20:397 sys_generic.c:251:(update_slew) slew offset-0.000000e+00 corr_rate-0.0000006+00 base_freq--5.439087 total_freq--5.4 39087 slew freg-8.593703e-14 duration-10000.000000 slew error-9,453074e-16
2023-03-29TO9:20:39Z ntp_sources.c:480:(resolve sources) resolving ntp.od.safaricom.net
2023-03-29TO9:20:39Z ntp_sources.c:408:(name_resolve_handler) ntp.od.safaricom.net resolved to O addrs
-----邮件原件-----
发件人: Miroslav Lichvar [mailto:mlichvar@xxxxxxxxxx]
发送时间: 2023年3月29日 17:15
收件人: chrony-users@xxxxxxxxxxxxxxxxxxxx
主题: Re: [chrony-users] question about chrony-DNS
On Wed, Mar 29, 2023 at 09:03:55AM +0000, chengyechun wrote:
> HI all:
> I'm using chrony-3.2 on linux, and there's a problem similar to the problem in this link, but when I shut down selinux and manually start the chronyd service using the /usr/bin/chronyd command, it still doesn't synchronize properly. Did I miss something?
> https://unix.stackexchange.com/questions/550423/chrony-sources-are-wit
> h-unknown-address
Can other utilities resolve the name correctly (e.g. ping, nslookup)?
3.2 is very old. Try a newer version and see if it still doesn't work.
If it doesn't, build it with --enable-debug option and post output from chronyd -d -d.
--
Miroslav Lichvar
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.