From: "A. Khattri" <ajai@bway.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] DNS lookup fails on a server; no changes since it worked
Date: Mon, 21 Nov 2005 11:17:30 -0500 (EST) [thread overview]
Message-ID: <Pine.BSO.4.58.0511211115160.764@ida.bway.net> (raw)
In-Reply-To: <57157A91-847A-4DED-8858-542AE8907E7B@vlack.com>
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
prev parent reply other threads:[~2005-11-21 16:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-20 16:38 [gentoo-user] DNS lookup fails on a server; no changes since it worked Micah R Ledbetter
2005-11-21 16:17 ` A. Khattri [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.BSO.4.58.0511211115160.764@ida.bway.net \
--to=ajai@bway.net \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox