From owner-freebsd-questions Tue Oct 29 12:11:25 2002 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 0D99337B401 for ; Tue, 29 Oct 2002 12:11:24 -0800 (PST) Received: from smtprelay7.dc2.adelphia.net (smtprelay7.dc2.adelphia.net [64.8.50.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDC7B43E75 for ; Tue, 29 Oct 2002 12:11:22 -0800 (PST) (envelope-from barbish@a1poweruser.com) Received: from barbish ([68.65.175.62]) by smtprelay7.dc2.adelphia.net (Netscape Messaging Server 4.15 smtprelay7 Dec 7 2001 09:58:59) with SMTP id H4REQX03.F9K; Tue, 29 Oct 2002 15:11:21 -0500 Reply-To: From: "JoeB" To: "C KH" , Subject: RE: Can't connect to DNS servers -- Firewall prob? Date: Tue, 29 Oct 2002 15:11:20 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Change rules so they look this. $fwcmd add allow udp from 66.135.144.2 53 to $oip $fwcmd add allow udp from 66.135.128.68 53 to $oip $fwcmd add allow tcp from 66.135.144.2 53 to $oip $fwcmd add allow tcp from 66.135.128.68 53 to $oip $fwcmd add allow udp from $oip to 66.135.144.2 53 $fwcmd add allow udp from $oip to 66.135.128.68 53 $fwcmd add allow tcp from $oip to 66.135.144.2 53 $fwcmd add allow tcp from $oip to 66.135.128.68 53 -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of C KH Sent: Tuesday, October 29, 2002 1:53 PM To: questions@FreeBSD.ORG Subject: Can't connect to DNS servers -- Firewall prob? I have 2 computers on a network -- one freebsd 4.7 and one slackware linux. The slackware linux box is able to connect to the DNS servers no problem, so I know it's not a problem with my ISP. My FreeBSD 4.7 box is unable to contact either primary or secondary nameservers. I have explicitly added these rules to my /etc/rc.firewall: $fwcmd add allow udp from 66.135.144.2 53 to $oip $fwcmd add allow udp from 66.135.128.68 53 to $oip $fwcmd add allow tcp from 66.135.144.2 53 to $oip $fwcmd add allow tcp from 66.135.128.68 53 to $oip (where $oip is my external IP address). Another possibly related thing is that on bootup, my server hangs indefinitely as the initializing "hostname" part. I need to hard break it with CTRL+C to continue bootup. Any ideas? I don't know how to tell if this is a larger problem with my server configuration or somethign to do with a firewall rule. Suggestions appreciated. _________________________________________________________________ Get faster connections -- switch to MSN Internet Access! http://resourcecenter.msn.com/access/plans/default.asp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message