From owner-freebsd-net@FreeBSD.ORG Fri Sep 1 13:30:14 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E5FC116A4DF for ; Fri, 1 Sep 2006 13:30:14 +0000 (UTC) (envelope-from regnauld@catpipe.net) Received: from moof.catpipe.net (moof.catpipe.net [195.249.214.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B9EF43D64 for ; Fri, 1 Sep 2006 13:30:05 +0000 (GMT) (envelope-from regnauld@catpipe.net) Received: from localhost (moof.catpipe.net [195.249.214.130]) by localhost.catpipe.net (Postfix) with ESMTP id BA49E6343DC; Fri, 1 Sep 2006 15:30:03 +0200 (CEST) Received: from moof.catpipe.net ([195.249.214.130]) by localhost (moof.catpipe.net [195.249.214.130]) (amavisd-new, port 10024) with ESMTP id 98332-09; Fri, 1 Sep 2006 15:30:02 +0200 (CEST) Received: from vinyl.catpipe.net (vinyl.catpipe.net [195.249.214.189]) by moof.catpipe.net (Postfix) with ESMTP id 0DC5663410B; Fri, 1 Sep 2006 15:30:02 +0200 (CEST) Received: by vinyl.catpipe.net (Postfix, from userid 1006) id 1DD6D78C31; Fri, 1 Sep 2006 15:29:25 +0200 (CEST) Date: Fri, 1 Sep 2006 15:29:25 +0200 From: Phil Regnauld To: Anton Message-ID: <20060901132924.GI49952@catpipe.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 6.1-PRERELEASE i386 Organization: catpipe Systems ApS User-Agent: Mutt/1.5.11 X-Virus-Scanned: amavisd-new at catpipe.net Cc: freebsd-net@freebsd.org Subject: Re: resolver configuration (FreeBSD 4.5.1, without running BIND on the local machine) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Sep 2006 13:30:15 -0000 Anton (ya007) writes: > Hi all. > > I'm trying to configure resolver under FreeBSD 4.5.1. I have no BIND on the > local machine. I have specified adresses of DNS servers, but it doesn't > resolve names to IP adresses. > > ***** Here is the content of /etc/resolv.conf: > > domain my.domain > nameserver 209.51.128.18 > nameserver 209.51.128.17 > > ***** Result of running "nslookup google.com": > > Server: dns2.gnax.net > Address: 209.51.128.18 > > Name: google.com.my.domain > Served by: > - C.ROOT-SERVERS.NET 1) use dig, NOT nslookup: dig @209.51.128.17 google.com 2) those NSes you are pointing to are not recursive, or are not choosing to be for you. You should be using the nameservers of your upstream provider or setup BIND. Phil