From owner-freebsd-questions@FreeBSD.ORG Mon Apr 10 14:45:18 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 5BC5416A405 for ; Mon, 10 Apr 2006 14:45:18 +0000 (UTC) (envelope-from ken@allenmyland.com) Received: from rwcrmhc14.comcast.net (rwcrmhc14.comcast.net [216.148.227.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C0BF43D79 for ; Mon, 10 Apr 2006 14:45:08 +0000 (GMT) (envelope-from ken@allenmyland.com) Received: from bserver.transpack.com ([68.80.195.248]) by comcast.net (rwcrmhc14) with ESMTP id <20060410144507m1400r7a0ke>; Mon, 10 Apr 2006 14:45:07 +0000 Received: from localhost (localhost.transpack.com [127.0.0.1]) by bserver.transpack.com (Postfix) with ESMTP id 7F4F2B84A; Mon, 10 Apr 2006 10:45:06 -0400 (EDT) Received: from bserver.transpack.com ([127.0.0.1]) by localhost (bserver.transpack.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 19331-02; Mon, 10 Apr 2006 10:45:03 -0400 (EDT) Received: from [192.168.214.102] (kbuilt.transpack.com [192.168.214.102]) by bserver.transpack.com (Postfix) with ESMTP id 401C1B843; Mon, 10 Apr 2006 10:45:02 -0400 (EDT) Message-ID: <443A6F64.70701@allenmyland.com> Date: Mon, 10 Apr 2006 10:44:52 -0400 From: Ken Stevenson User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Matthias.Apitz@Sisis.de References: <20060410135448.GA10388@rebelion.Sisis.de> In-Reply-To: <20060410135448.GA10388@rebelion.Sisis.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at transpack.com Cc: freebsd-questions@freebsd.org Subject: Re: /etc/resolv.conf with 3 nameservers X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Apr 2006 14:45:18 -0000 guru@Sisis.de wrote: > Hi, > > The man page of resolv.conf claims: > > The different configuration options are: > > nameserver Internet address (in dot notation) of a name server that the > resolver should query. Up to MAXNS (currently 3) name > servers may be listed, one per keyword.... > > I've three DNS server in my /etc/resolv.conf in 6.0-REL: > > $ cat /etc/resolv.conf > domain Sisis.de > nameserver 10.0.1.201 > nameserver xxx.xxx.xxx.xxx > nameserver yyy.yyy.yyy.yyy > > But only the 1st one (10.0.1.201) is contacted to make the name lookup > (I've checked this with trussing a 'ping whatever.domain.com') and if > it does not know the addr, while the second one would know it, it does > not resolve. > > Do I miss something? > Thx > > matthias > I think the problem is that once your first server responds with a "domain not found", that's considered an answer to your query. It doesn't try another DNS server just to see if it gets a different answer. If you were to disable the DNS server on 10.0.1.201, then it would use xxx.xxx.xxx.xxx or yyy.yyy.yyy.yyy to resolve the query. -- Ken Stevenson Allen-Myland Inc.