From owner-freebsd-questions@FreeBSD.ORG Tue Jan 18 07:10:35 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AABA916A4CE for ; Tue, 18 Jan 2005 07:10:35 +0000 (GMT) Received: from jupiter.picknowl.com.au (jupiter.picknowl.com.au [203.87.94.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2470643D2D for ; Tue, 18 Jan 2005 07:10:35 +0000 (GMT) (envelope-from imoore@picknowl.com.au) Received: from daemon.foo.com (adsl-176-70.swiftdsl.com.au [218.214.176.70]) by jupiter.picknowl.com.au (Postfix) with ESMTP id 5E88197EA6; Tue, 18 Jan 2005 17:40:34 +1030 (CST) From: Ian Moore To: Christian Hiris <4711@chello.at> Date: Tue, 18 Jan 2005 17:40:16 +1030 User-Agent: KMail/1.7.2 References: <200501112100.10680.imoore@picknowl.com.au> <200501181649.31448.imoore@picknowl.com.au> <200501180743.14290.4711@chello.at> In-Reply-To: <200501180743.14290.4711@chello.at> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2966061.uzbUvfbLde"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200501181740.33206.imoore@picknowl.com.au> cc: John cc: Rob cc: freebsd-questions@freebsd.org Subject: Re: ntpd problems since upgrading to 5.3 - found the problem! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jan 2005 07:10:35 -0000 --nextPart2966061.uzbUvfbLde Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tue, 18 Jan 2005 17:13, Christian Hiris wrote: > On Tuesday 18 January 2005 07:19, Ian Moore wrote: > > Now I'm not sure what the best way to get around this would be. I run a > > caching name server on the machine, so I guess I can tweak it to force > > localhost.foo.com resolve to 127.0.0.1 > > I'm running ntpd and a caching nameserver on one machine, too. The extern= al > IP is only referenced by /etc/hosts. My bind holds only the internal > networks, including it's own localhost. There also could be some influence > from your /etc/resolv.conf, but I'm not sure about. > > # dig localhost.matrix.net > > ; <<>> DiG 9.3.0 <<>> localhost.matrix.net > ;; global options: printcmd > ;; Got answer: > ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47348 > ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1 > > ;; QUESTION SECTION: > ;localhost.matrix.net. IN A > > ;; ANSWER SECTION: > localhost.matrix.net. 3600 IN A 127.0.0.1 > > ;; AUTHORITY SECTION: > matrix.net. 3600 IN NS ns.matrix.net. > > ;; ADDITIONAL SECTION: > ns.matrix.net. 3600 IN A 192.168.123.1 > > ;; Query time: 1 msec > ;; SERVER: 192.168.123.1#53(192.168.123.1) > ;; WHEN: Tue Jan 18 07:27:54 2005 > ;; MSG SIZE rcvd: 87 > > > # cat /etc/resolv.conf > search matrix.net > nameserver 127.0.0.1 Oops, I've just realised I'm not running a name server at all on my 5.3 system. I= =20 have 4.9 installed on this computer too & I'd set up the caching server on= =20 it, I guess I forgot that step when I installed 5.3. I'll set it up & see that makes any difference. Cheers, =2D-=20 Ian GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc --nextPart2966061.uzbUvfbLde Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBB7LZpfITqkXhImmIRAolWAJ4vYk4GSuqOXaleJdTQifAdJkKJOgCgvlNc cChK5Ok7L4RTl0D14gcWfdQ= =CDfN -----END PGP SIGNATURE----- --nextPart2966061.uzbUvfbLde--