From owner-freebsd-stable Tue Feb 27 1:45:34 2001 Delivered-To: freebsd-stable@freebsd.org Received: from ws130.nomadiclab.com (ws130.nomadiclab.com [195.165.196.130]) by hub.freebsd.org (Postfix) with ESMTP id 8561C37B71A for ; Tue, 27 Feb 2001 01:45:30 -0800 (PST) (envelope-from martti.kuparinen@nomadiclab.com) Received: from ws140.nomadiclab.com (ws140.nomadiclab.com [195.165.196.140]) by ws130.nomadiclab.com (Postfix) with ESMTP id BD0E472505 for ; Tue, 27 Feb 2001 11:45:29 +0200 (EET) Date: Tue, 27 Feb 2001 11:45:29 +0200 (EET) From: Martti Kuparinen To: freebsd-stable@freebsd.org Subject: major resolver problems in -STABLE Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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... 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