Bind and gethostbyname.

Joseph S D Yao jsdy at cospo.osis.gov
Mon Jul 16 19:06:44 UTC 2001


On Mon, Jul 16, 2001 at 05:35:50PM +0200, paul gounot wrote:
...
> I'am working on Linux and I would get the gethostbyname function working
> properly for any address name.
> Today the function didn't work because I haven't installed bind on my
> computer neither any DNS resolver.
> I work on a device with very few disk space and full installation of
> Bind 9.1.3 is not possible.
> Furthermore, I have already a nameserver on my LAN, and I don't need to
> build an other nameserver on my device.
> Thus I wonder which deamon(s) should I install and which minimal
> configuration should I have, to get the gethostbyname function working
> successfully.

[1] You have a "To: " address whose name is "bind9-users at isc.org",
    but whose e-mail address is <bind-users at isc.org>.  You need to make
    up your mind which mailing list you want, and make the two
    consistent.

[2] You only need the name resolver client software, not the name
    server software.  And you already have the client software.  Make
    sure that /etc/resolv.conf points to your name server, and that
    /etc/host.conf and /etc/nsswitch.conf both allow DNS as one way to
    look up names.  For more information, try 'man 5 resolver',
    'man 7 hostname', et alii.

-- 
Joe Yao				jsdy at cospo.osis.gov - Joseph S. D. Yao
OSIS Center Computer Support					EMT-B
-----------------------------------------------------------------------
This message is not an official statement of COSPO policies.


More information about the bind-users mailing list