From owner-freebsd-questions@FreeBSD.ORG Fri May 16 13:14:18 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 694C537B401 for ; Fri, 16 May 2003 13:14:18 -0700 (PDT) Received: from dhumketu.homeunix.net (dialpool-210-214-66-179.maa.sify.net [210.214.66.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7924243FA3 for ; Fri, 16 May 2003 13:14:16 -0700 (PDT) (envelope-from freebsd@dhumketu.cjb.net) Received: by dhumketu.homeunix.net (Postfix, from userid 1000) id 67024520; Sat, 17 May 2003 01:08:13 +0530 (IST) Date: Sat, 17 May 2003 01:08:13 +0530 From: Shantanu Mahajan To: george donnelly Message-ID: <20030516193813.GA1200@dhumketu.homeunix.net> Mail-Followup-To: george donnelly , Roman Neuhauser , 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.4i Organization: Hmmm... I dunno X-OS: FreeBSD 4.8-STABLE i386 cc: FreeBSD Q's cc: george donnelly 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 20:14:18 -0000 +++ george donnelly [freebsd] [16-05-03 13:36 -0400]: | [Roman Neuhauser wrote (neuhauser@bellavista.cz) on 5/16/03 5:27 AM] | | > # 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. | | | thanks for your suggestion. i removed them but the problem persists. i also | tried replacing resolv.conf with some values from another machine on the | network where i'm not having this problem and this still does not solve it. check out /etc/hosts Regards, Shantanu -- Madness has no purpose. Or reason. But it may have a goal.