[BusyBox] Hostname resolution
Paul TOTH
tothpaul at free.fr
Fri Jan 24 05:45:04 UTC 2003
Hi,
I've the same pb, hostname resolution need NSS with many libs...so I've
write a tiny DNS requester :D
resolv.h is part of a bigger project, so you probably have to add some
system includes...
just call
int remote=resolv("tothpaul.free.fr","x.x.x.x");
where x.x.x.x is your DNS IP adresse, and tothpaul.free.fr the requested
host
BTW note that I'm a french Delphi coder, not a Linux system programmer :D
Best Regards
Paul TOTH <tothpaul at free.fr>
http://tothpaul.free.fr
----- Original Message -----
From: "Jules Bjørn Colding" <JuBColding at yorkref.com>
To: <busybox at busybox.net>
Sent: Friday, January 24, 2003 12:06 PM
Subject: [BusyBox] Hostname resolution
> Hi,
>
> I have a problem with hostname resolution. The Makefile says, if I read
> it correctly, that I need the libnss_* libraries from Glibc (which I am
> using) if I want hostname resolution to work. Is there any way I can
> make BB perform hostname lookup without the nss libraries ?
>
>
> Thanks in advance,
> jules
>
> PS: I am sorry if this message ends up being a duplicate, but my first
> attempt did not go through due to me not being subscribed..
>
>
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://busybox.net/mailman/listinfo/busybox
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RESOLV.H
Type: application/octet-stream
Size: 2475 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20030124/e092202c/attachment.obj
More information about the busybox
mailing list