From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1EeEZc-0006eA-5f for garchives@archives.gentoo.org; Mon, 21 Nov 2005 16:31:20 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jALGU5qs005741; Mon, 21 Nov 2005 16:30:05 GMT Received: from mail.bway.net (xena.bway.net [216.220.96.26]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jALGPgHV003739 for ; Mon, 21 Nov 2005 16:25:42 GMT Received: (qmail 24402 invoked by uid 0); 21 Nov 2005 16:25:41 -0000 Received: from unknown (HELO ida.bway.net) (216.220.96.4) by smtp.bway.net with (EDH-RSA-DES-CBC3-SHA encrypted) SMTP; 21 Nov 2005 16:25:41 -0000 Date: Mon, 21 Nov 2005 11:17:30 -0500 (EST) From: "A. Khattri" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] DNS lookup fails on a server; no changes since it worked In-Reply-To: <57157A91-847A-4DED-8858-542AE8907E7B@vlack.com> Message-ID: References: <57157A91-847A-4DED-8858-542AE8907E7B@vlack.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archives-Salt: 8b4eb765-a5a0-48e8-8c6a-4cf951213f0e X-Archives-Hash: 6678cf445e1808ccb98dda7c098a0c5b On Sun, 20 Nov 2005, Micah R Ledbetter wrote: > I have a server out on the net, and it's been up for a week or two. > I've been on and off it all week long, but as of last night, DNS > didn't seem to work for it. Network connectivity worked, because not > only could I ssh *in*, but I could also contact the outside network > as long as I used something in the hosts file or an IP address. > Adding more (known good) DNS servers to /etc/resolv.conf doesn't seem > to help. DNS was working recently, and I haven't changed anything > since then. A reboot didn't help (I would have just stopped && > started networking... but, well, all I have is ssh, so...). > > One very weird thing is that it can apparently send mail to outside > network addresses. It could send to my gmail account fine last night, > though it seemed to take a while (20 minutes or so, when normally > it's instantaneous). I don't have gmail or google in my /etc/hosts. > > I've seen elsewhere to look at the output of iptables, but it has > never been installed. > The contents of /etc/nsswitch.conf are at http://vlack.com/vlack/lol/ > nsswitch.conf. I'm getting nowhere, and I have no idea why. What is /etc/resolv.conf? Are you running a local name server or uses someone else's? If you are using someone else's can you ping them? If you can ping them, install bind-tools and see if you can run direct queries against them with dig or host, something like: dig @xxx.xxx.xxx.xxx -t mx gentoo.org where xxx.xxx.xxx.xxx is the IP of the DNS server you are checking. Lots of troubleshooting options here. -- -- gentoo-user@gentoo.org mailing list