From owner-freebsd-questions@FreeBSD.ORG Fri Apr 30 02:11:13 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 433BF16A4CE for ; Fri, 30 Apr 2004 02:11:13 -0700 (PDT) Received: from hotmail.com (bay2-f47.bay2.hotmail.com [65.54.247.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id F14D743D45 for ; Fri, 30 Apr 2004 02:11:12 -0700 (PDT) (envelope-from alper2@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 30 Apr 2004 02:11:12 -0700 Received: from 195.238.52.1 by by2fd.bay2.hotmail.msn.com with HTTP; Fri, 30 Apr 2004 09:11:12 GMT X-Originating-IP: [195.238.52.1] X-Originating-Email: [alper2@hotmail.com] X-Sender: alper2@hotmail.com From: "Alper Yurdakul" To: freebsd-questions@freebsd.org Date: Fri, 30 Apr 2004 09:11:12 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 30 Apr 2004 09:11:12.0900 (UTC) FILETIME=[15800C40:01C42E93] Subject: BIND 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: Fri, 30 Apr 2004 09:11:13 -0000 Hi, I installed a FreeBSD 5.2.1 with BIND. I'll use BIND only for caching DNS for the clients. The server has two interfaces; 192.0.0.1 is the IP of the internal interface. I made below changes: /etc/rc.conf : named_enable=”YES” cd /etc/namedb sh make-localhost /etc/namedb/named.conf : forwarders { 195.238.50.254; 195.238.40.45; 212.156.4.4 }; /etc/resolv.conf : nameserver 127.0.0.1 nameserver 192.0.0.1 When I do "ndc start" the server resolves the URLs in a funny manner: E.g it always resolves addresses like www.cnn.com, www.hughes.com, www.ferrari.com, etc. But it NEVER resolves www.microsoft.com, www.yahoo.com. And it SOMETIMES resolves www.google.com. Each time I issue the DNS query at two different prompts like below: - nslookup www.microsoft.com 195.238.50.254 - nslookup www.microsoft.com where, the first one always succeeds, whereas the second one fails with: Server: dmtgate Address: 192.0.0.1 *** Request to dmtgate timed-out Any ideas ? Cheers _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963