[ntp:questions] Translation names to IP is not working
elimachi at datacom.com.bo
elimachi at datacom.com.bo
Wed Oct 8 19:24:29 UTC 2003
Dear list:
I installed NTP v4 into a Linux box with RedHat 7.3 for synchronise the
clock in my network. I chose some pubñic NTP servers for that. Its
managers suggest us to use the name instead the IP address because it
could change in the future.
Then I ping to this names and I can get response.
So I configured the /etc/ntp.conf file with these servers using its names,
this is the part of my file config:
# --- OUR TIMESERVERS -----
# or remove the default restrict line
# Permit time synchronization with our time source, but do not
# permit the source to query or modify the service on this system.
# restrict mytrustedtimeserverip mask 255.255.255.255 nomodify notrap
noquery
# server mytrustedtimeserverip
server clock.fmt.he.net
server time.sinectis.com.ar
server ntp.hiway.com.br
restrict clock.fmt.he.net mask 255.255.255.255 nomodify notrap noquery
restrict time.sinectis.com.ar mask 255.255.255.255 nomodify notrap noquery
restrict ntp.hiway.com.br mask 255.255.255.255 nomodify notrap noquery
But when I restart the ntpd service I have this error messages and I can
not get any synchronisation because the ntpq>ass say that these server is
not reacheables. I believe that this names can not be transtales to its
IPs
Oct 8 14:59:13 Gestiòn_LPB-1 ntpd: ntpd shutdown succeeded
Oct 8 14:59:13 Gestiòn_LPB-1 ntpd[32213]: ntpd 4.1.1 at 1.786 Mon Apr 8
06:30:52 EDT 2002 (1)
Oct 8 14:59:13 Gestiòn_LPB-1 ntpd: ntpd startup succeeded
Oct 8 14:59:13 Gestiòn_LPB-1 ntpd[32213]: precision = 22 usec
Oct 8 14:59:13 Gestiòn_LPB-1 ntpd[32213]: kernel time discipline status
0040
Oct 8 14:59:13 Gestiòn_LPB-1 ntpd[32213]: getnetnum: "clock.fmt.he.net"
invalid host number, line ignored
Oct 8 14:59:13 Gestiòn_LPB-1 ntpd[32213]: getnetnum:
"time.sinectis.com.ar" invalid host number, line ignored
Oct 8 14:59:13 Gestiòn_LPB-1 ntpd[32213]: getnetnum: "ntp.hiway.com.br"
invalid host number, line ignored
Oct 8 14:59:13 Gestiòn_LPB-1 ntpd[32213]: frequency initialized 73.240
from /etc/ntp/drift
When I configure the file config with IP only I don`t have any problem,
my box can get synchronisation.
What could be the problem? Could you help me to troubleshoot this problem?
Thank you for your help and suggestions.
EDWIN LIMACHI N.
DATACOM - Instalaciones
TSE - INFONET BOLIVIA
Phone. 591-2-2123978
Movil: 591-715-29967
Fax: 591-2-2123975
More information about the questions
mailing list