linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* "Need help to configure DNS on the Embedded system"
@ 2006-05-16 12:10 nreddy
  2006-05-16 13:36 ` Eberhard Stoll
  0 siblings, 1 reply; 3+ messages in thread
From: nreddy @ 2006-05-16 12:10 UTC (permalink / raw)
  To: linuxppc-embedded

Hi All,

 I am working on implementing wget future on my Embedded device.
 So i downloaded free wget sources (version 1.10.2) and compiled for my
system.
My system is walnut based one(IBM405EP processor). But wget is working if
i specify IP when i try to download some file from my support site(i gave
IP of support site), but when i specify like www.support.netenrich.com, it
is not able to resolve.

 I Modified /etc/resolve.conf, but still it says unable to resolve .

 I am using MontaVista Linux Kernel 2.4.20.

can some one let me know how to configure the DNS on any embedded systems.
I have gone through some of the meterial available on the net, but could
not resolve it.

Thanks in Advance,
Nagi Reddy.C

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: "Need help to configure DNS on the Embedded system"
  2006-05-16 12:10 "Need help to configure DNS on the Embedded system" nreddy
@ 2006-05-16 13:36 ` Eberhard Stoll
  2006-05-17 11:28   ` Markus Klotzbücher
  0 siblings, 1 reply; 3+ messages in thread
From: Eberhard Stoll @ 2006-05-16 13:36 UTC (permalink / raw)
  Cc: linuxppc-embedded

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: "Need help to configure DNS on the Embedded system"
  2006-05-16 13:36 ` Eberhard Stoll
@ 2006-05-17 11:28   ` Markus Klotzbücher
  0 siblings, 0 replies; 3+ messages in thread
From: Markus Klotzbücher @ 2006-05-17 11:28 UTC (permalink / raw)
  To: Eberhard Stoll; +Cc: linuxppc-embedded


Eberhard Stoll <eberhard.stoll@berghof.com> writes:

> Which C library do you use?
> Did you setup /etc/hosts.conf correctly?
                         ^

I guess you meant to write: "/etc/host.conf", right?

Regards

Markus Klotzbücher

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-05-17 11:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-16 12:10 "Need help to configure DNS on the Embedded system" nreddy
2006-05-16 13:36 ` Eberhard Stoll
2006-05-17 11:28   ` Markus Klotzbücher

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).