From owner-freebsd-questions@FreeBSD.ORG Sun Nov 14 14:16:28 2004 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 54F7716A4D0 for ; Sun, 14 Nov 2004 14:16:28 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id C838443D1F for ; Sun, 14 Nov 2004 14:16:27 +0000 (GMT) (envelope-from fenomenoxp2@gmail.com) Received: by wproxy.gmail.com with SMTP id 68so252848wra for ; Sun, 14 Nov 2004 06:16:27 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=lxJkYXWrwX4UdFsrvVL4Af9tFE0t+Vr1fOPpI8rxLX41zYgaYYLh2kp5o270B89NgPp3A3lDQtiJQsanIPC2rwM9pVvbl9KsN/fgIixUpEshw+VnSqYcMbTcNWBGCRgxlAqguQ4PsrYQygvoQ+OqdQrS4iKhpJeCFa92YiuJJSk= Received: by 10.54.49.6 with SMTP id w6mr47140wrw; Sun, 14 Nov 2004 06:16:27 -0800 (PST) Received: by 10.54.46.51 with HTTP; Sun, 14 Nov 2004 06:16:27 -0800 (PST) Message-ID: Date: Sun, 14 Nov 2004 15:16:27 +0100 From: Emil Khatib To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: host name lookup failure under 4.9 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Emil Khatib List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Nov 2004 14:16:28 -0000 Hi list, I've recently installed FreeBSD 4.9 and set up ppp to connect to the Internet. Before recompiling the kernel everything went just fine after writing the ip adresses of my primary and secondary nameservers in /etc/resolv.conf. Then I recompiled the kernel and added IPFIREWALL , IPFIREWALL_VERBOSE, IPV6FIREWALL, IPV6FIREWALL_VERBOSE and IPFW2 to GENERIC. I recompiled also libalias and ipfw, so everything worked fine. But when i got online, I couldn't manage to resolve ip adresses. everytime I do ping www.google.com I get "Host name lookup failure". It's quite frustrating really... I've checked resolv.conf, host.conf and ppp.conf and everything is correct (or at least, it worked before recompiling). The firewall rules are: pass udp from me to any 53 keep-state pass tcp from me to any 20 keep-state pass tcp from me to any 21 keep-state pass tcp from me to any 80 keep-state So I want to allow DNS, FTP and HTTP. Please help me to escape from Linux!