Gentoo Archives: gentoo-embedded

From: Abdolmohaimen Siddig <abdo.a2008@×××××.com>
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] dns problem when using uClibc
Date: Wed, 27 May 2009 06:14:59
Message-Id: 68f7c0560905262314j1c30a4b9s2441f9db4aaee4ac@mail.gmail.com
1 my /etc/resolv.conf is set correctly and I could resolve the names using my
2 dns (bind) but I could not connect to it ( the resolved name)
3 for example when i wrote a command like:
4 *# nslookup host1.example.com *
5 the output was like this:
6 *Server: 192.168.0.254
7 Address: 192.168.0.254#53
8
9 Name: host1.example.com
10 Address: 192.168.33.2
11
12 *but, when I wrote a command like this:
13 #* ping host1.example.com
14
15 *there was no reply and I checked the that there is no firewall rules that
16 denying the connection
17
18 best regards
19
20
21
22
23 On Wed, May 27, 2009 at 1:32 AM, Mike Frysinger <vapier@g.o> wrote:
24
25 > On Monday 25 May 2009 08:22:40 Abdolmohaimen Siddig wrote:
26 > > I have a problem that my dns server (bind) can resolve names, when trying
27 > > to connect using the names provided by the dns ( e.g. ping
28 > > host1.example.com) I fail. i think the problem is that uClibc has no
29 > > libnss-dns shared library. what is the solution for this problem please
30 >
31 > uClibc doesnt need any of the libnss stuff that glibc provides. simply
32 > check
33 > your /etc/resolve.conf.
34 > -mike
35 >
36
37
38
39 --
40 Abdolmohaimen Alsiddig Ahmed
41 Nile Center for Technology Research
42 +249924205886
43
44
45
46 --
47 Abdolmohaimen Alsiddig Ahmed
48 Nile Center for Technology Research
49 +249924205886

Replies

Subject Author
Re: [gentoo-embedded] dns problem when using uClibc Mike Frysinger <vapier@g.o>