From owner-freebsd-stable Tue Feb 27 1:58: 6 2001 Delivered-To: freebsd-stable@freebsd.org Received: from relay.reis.zp.ua (ReIS.zp.ua [212.35.166.3]) by hub.freebsd.org (Postfix) with ESMTP id CD65937B719 for ; Tue, 27 Feb 2001 01:57:51 -0800 (PST) (envelope-from oleg@relay.reis.zp.ua) Received: (from oleg@localhost) by relay.reis.zp.ua (8.11.2/8.11.2) id f1R9uch01668; Tue, 27 Feb 2001 11:56:38 +0200 (EET) (envelope-from oleg) Date: Tue, 27 Feb 2001 11:56:38 +0200 From: "Oleg V. Naumann" To: Martti Kuparinen Cc: freebsd-stable@FreeBSD.ORG Subject: Re: major resolver problems in -STABLE Message-ID: <20010227115638.C1013@relay.reis.zp.ua> Mail-Followup-To: Martti Kuparinen , freebsd-stable@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from martti.kuparinen@nomadiclab.com on Tue, Feb 27, 2001 at 11:45:29AM +0200 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Feb 27, 2001 at 11:45:29AM +0200, Martti Kuparinen wrote: > Hi! > > I upgraded today our 4.2-STABLE server and now we have major difficulties > with DNS. For example, when I try to start the web server I see this in > the logs: > > [Tue Feb 27 11:13:40 2001] [alert] mod_unique_id: unable to gethostbyname("ws2") > > However, this works just fine: > > # nslookup ws2 > Server: localhost > Address: 127.0.0.1 > > Name: ws2.piuha.net > Address: 195.165.196.2 > > I've read /usr/src/UPDATING but there's nothing about this. Before > todays upgrade the server was upgraded on Friday and everything worked > just fine... > > There's also a looong delay with the ftpd because of the resolver. If I > add the hostname into /etc/hosts everything works fine. But as everything > is coming from our DNS server we see these long delays. > > # cat /etc/hosts > ::1 localhost localhost.piuha.net > 127.0.0.1 localhost localhost.piuha.net > > # cat /etc/host.conf > # $FreeBSD: src/etc/host.conf,v 1.6 1999/08/27 23:23:41 peter Exp $ > # First try the /etc/hosts file > hosts > # Now try the nameserver next. > bind > # If you have YP/NIS configured, uncomment the next line > # nis > > # cat /etc/resolv.conf > search piuha.net > nameserver 127.0.0.1 > nameserver 195.165.196.2 > nameserver 195.165.196.3 > > So here's what I did: > > [ updated the sources in /usr/src ] > # rm -rf /usr/obj/* > # make world kernel > # mergemaster > # reboot > > Quick help is appreciated... Also the same here after Sunday's upgrade (4.2-STABLE after make buildworld/installworld/kernel/mergemaster). And mysterious reboots after 59m40secs uptime :-( > > Martti > > --- > Ericsson Research / NomadicLab > Martti Kuparinen > http://www.iki.fi/~kuparine/ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message -- With best wishes Oleg V. Naumann To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message