Gentoo Archives: gentoo-dev

From: marduk <marduk@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] gethostbyname() anyone?
Date: Wed, 07 Jan 2004 03:08:33
Message-Id: 1073444909.6315.7.camel@blackwidow.nbk.org
In Reply to: [gentoo-dev] gethostbyname() anyone? by conrausch
1 What kernel are you using? What programming language. I just tried it
2 on my box as a user and it worked fine:
3
4 >>> from socket import gethostbyname
5 >>> print gethostbyname("www.python.org")
6 194.109.137.226
7
8 In short, I don't think it's a "gentoo-thing, especially since it works
9 on your other gentoo box".
10
11 The man page for gethostbyname says:
12
13 TRY_AGAIN
14 A temporary error occurred on an authoritative name
15 server. Try again later.
16
17
18 --m
19
20
21 On Tue, 2004-01-06 at 17:01, conrausch wrote:
22 > -----BEGIN PGP SIGNED MESSAGE-----
23 > Hash: SHA1
24 >
25 > hello...
26 > I'm not 100% sure, if this is a gentoo-thing, but it does work on my
27 > linux-from-scratch computer. then again, it also works on my other
28 > gentoo-box, running the same kernel...
29 > anyways, i'd be more than happy, if someone could give me some advice.
30 > my no-ip-updater stopped working recently. i investigated, and came to the
31 > conclusion, that it doesnt work, because the gethostbyname()-function doesnt
32 > work for non-root users on my system. everything works fine as root, but if i
33 > am somebody else, it gives me a "TRY_AGAIN" error, meaning a temporary error
34 > occured on the name server.
35 > i am not a security-expert, but i honestly doubt it is supposed to be that
36 > way...
37 > can anyone comment on this? i would be grateful..
38 >
39
40 --
41 marduk
42 Gentoo Developer, Infrastructure
43 http://dev.gentoo.org/~marduk/
44
45
46 --
47 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] gethostbyname() anyone? conrausch <conrausch@×××.de>