From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] DNS resolv issue with localhost
Date: Tue, 5 Jul 2011 21:04:37 +0200 [thread overview]
Message-ID: <20110705210437.47fd7806@skate> (raw)
In-Reply-To: <4E130353.7030207@labri.fr>
Le Tue, 05 Jul 2011 14:28:03 +0200,
Jigar SOLANKI <jigar.solanki@labri.fr> a ?crit :
> Problem SOLVED :
> I was missing the nsswitch.conf file in /etc, so the resolv order was
> wrong (nslookup localhost was requesting the dns server in
> /etc/resolv.conf whereas it should have beeb /etc/hosts)
> I just added a nsswitch.conf from an another correctly running linux.
So you're using a glibc-based system, right ? If so, maybe we should
add this nsswitch.conf file to the default Buildroot and make sure it
gets installed when a glibc toolchain is used.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2011-07-05 19:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-04 22:42 [Buildroot] DNS resolv issue with localhost Jigar SOLANKI
2011-07-05 12:28 ` Jigar SOLANKI
2011-07-05 19:04 ` Thomas Petazzoni [this message]
2012-09-21 8:38 ` Lionel Orry
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=20110705210437.47fd7806@skate \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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