From owner-freebsd-questions@FreeBSD.ORG Fri May 16 02:27:23 2003 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 B0C1837B401 for ; Fri, 16 May 2003 02:27:23 -0700 (PDT) Received: from mail.bellavista.cz (mail.bellavista.cz [213.235.167.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9E7543F93 for ; Fri, 16 May 2003 02:27:22 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: from freepuppy.bellavista.cz (freepuppy.bellavista.cz [10.0.0.10]) by mail.bellavista.cz (Postfix) with ESMTP id 1708B42A; Fri, 16 May 2003 11:27:21 +0200 (CEST) Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id 10B832FDAC9; Fri, 16 May 2003 11:27:20 +0200 (CEST) Date: Fri, 16 May 2003 11:27:20 +0200 From: Roman Neuhauser To: george donnelly Message-ID: <20030516092719.GZ1036@freepuppy.bellavista.cz> Mail-Followup-To: george donnelly , FreeBSD Q's References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i cc: FreeBSD Q's Subject: Re: dns resolution 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, 16 May 2003 09:27:24 -0000 # george@zettai.net / 2003-05-15 19:48:30 -0400: > We recently made a IP changeover (we changed all IP's) and move to a VLAN > config and now cronjobs, pings etc can not reolve hostnames. host and dig > work fine. > > Does anyone have any idea why this could be? > > Running: > > FreeBSD 4.7 > Djbdns, tinydns, dnscache > dnscache runs on 127.0.0.1 > > resolv.conf looks like this: > > alpha# more /etc/resolv.conf > domain alpha.zettai.net > nameserver 127.0.0.1 > nameserver 216.93.187.185 > nameserver 216.93.178.185 > nameserver 216.93.160.16 > nameserver 216.93.170.17 > > 127.0.0.1 is dnscache, the resolver and cache ok. > the next two are ns1 and ns2, tinydns, authoritative this is quite probably (part of your) your problem. > the last 2 are the ISP's ns1 and ns2 not needed, remove them. -- If you cc me or remove the list(s) completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html