All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eberhard Stoll <eberhard.stoll@berghof.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: "Need help to configure DNS on the Embedded system"
Date: Tue, 16 May 2006 15:36:30 +0200	[thread overview]
Message-ID: <4469D55E.50105@berghof.com> (raw)
In-Reply-To: <34616.61.95.208.2.1147781429.squirrel@61.95.208.2>

Which C library do you use?
Did you setup /etc/hosts.conf correctly?
It should look like this:
---
   order hosts, bind
   multi on
---

If you use glibc you shold add 'dns' to /etc/nsswitch.conf file like that:
---
   ...
   hosts: files dns
   networks: files dns
   ...
---
This will tell glibc to look for hostnames in /etc/hosts and via dns.
Additionally glibc needs the two libraries libresolv and libnss_dns for
this setting to work!

Good luck
Eberhard

  reply	other threads:[~2006-05-16 13:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-16 12:10 "Need help to configure DNS on the Embedded system" nreddy
2006-05-16 13:36 ` Eberhard Stoll [this message]
2006-05-17 11:28   ` Markus Klotzbücher

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=4469D55E.50105@berghof.com \
    --to=eberhard.stoll@berghof.com \
    --cc=linuxppc-embedded@ozlabs.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.