Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Aug 2005 21:14:04 -0400
From:      Craig Rodrigues <rodrigc@crodrigues.org>
To:        freebsd-current@freebsd.org
Subject:   Broken NTP servers in sysinstall
Message-ID:  <20050820011404.GA14575@crodrigues.org>

next in thread | raw e-mail | index | archive | help

--0F1p//8PRICkK4MW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,

I was looking at:

http://www.freebsd.org/cgi/query-pr.cgi?pr=75479

I wrote the attached script to do DNS lookups on
all the ntp servers listed in sysinstall,
and found the following ones could not be resolved.

Can anyone suggest replacements?  


Could not find following NTP servers in DNS:
===========================================
      { "Australia #5",		"time.esec.com.au",
      { "Indonesia",		"ntp.incaf.net",
      { "Mexico",		"ntp2a.audiotel.com.mx",
      { "Mexico #2",		"ntp2b.audiotel.com.mx",
      { "Mexico #3",		"ntp2c.audiotel.com.mx",
      { "Nigeria",		"ntp.supernet300.com",
      { "Portugal",		"bug.fe.up.pt",
      { "Russia #2",		"sign.chg.ru",
      { "Singapore",		"ntp.shim.org",
      { "Slovenia",		"calvus.rzs-hm.si",
      { "United Kingdom #9",	"tick.tanac.net",
      { "U.S. AR",	"sushi.compsci.lyon.edu",
      { "U.S. NY",	"clock.linuxshell.net",
      { "U.S. NY #2",	"ntp.ctr.columbia.edu",
      { "U.S. NY #4",	"ntp1.mpis.net",
      { "U.S. NY #5",	"ntp2.mpis.net",
      { "U.S. OK",	"constellation.ecn.uoknor.edu",
      { "U.S. TX",	"ntp.cox.smu.edu",
      { "U.S. WA",	"clock.tricity.wsu.edu",
      { "Venezuela",	"ntp.linux.org.ve",
===========================================

-- 
Craig Rodrigues        
rodrigc@crodrigues.org

--0F1p//8PRICkK4MW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="ntpservers_verify.sh.txt"

#!/bin/sh

MENUS=/usr/src/usr.sbin/sysinstall/menus.c

NTP_LIST="$(cat $MENUS | grep ntpdate_flags= | sed -e s'/\"ntpdate_enable=YES,ntpdate_flags=//g' | sed -e 's/\".*//g')"

echo "Could not find following NTP servers in DNS:" 
echo "==========================================="
for NTP_SERVER in $NTP_LIST
do
   host $NTP_SERVER > /dev/null
   if [ $? -ne 0 ]
   then
      grep $NTP_SERVER $MENUS | grep -v ntpdate
   fi
done
echo "==========================================="

--0F1p//8PRICkK4MW--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050820011404.GA14575>