From: "Adam T. Bowen" <adam.bowen@connectinternetsolutions.com>
To: Edi CAHYADI <edi.cahyadi@st.com>
Cc: linux-admin@vger.kernel.org
Subject: Re: Unable to lookup host registered in hosts file
Date: Mon, 02 Oct 2006 09:36:45 +0100 [thread overview]
Message-ID: <4520CF9D.3060907@connectinternetsolutions.com> (raw)
In-Reply-To: <002501c6e5e4$8d4d5ec0$3dfbc68a@amk.st.com>
Hi,
Edi CAHYADI wrote:
> Hi All,
>
> I have 2 servers:
> hostA: RedHat Linux 2.4.21-40.EL
> hostB: HP-UX 10.20
>
>>From hostA, I can't lookup hostB even though I put its entry in /etc/hosts file.
Commands like host, dig and nslookup are DNS lookup utilities and so
don't use the configuration defined in /etc/nsswitch.conf. The switch
file is used to define different ways to find host names (amongst other
things) of which DNS is just one.
Cheers
Adam
prev parent reply other threads:[~2006-10-02 8:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-02 5:35 Unable to lookup host registered in hosts file Edi CAHYADI
2006-10-02 8:36 ` Adam T. Bowen [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=4520CF9D.3060907@connectinternetsolutions.com \
--to=adam.bowen@connectinternetsolutions.com \
--cc=edi.cahyadi@st.com \
--cc=linux-admin@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).