Path: utzoo!utgpu!news-server.csri.toronto.edu!me!eastick Newsgroups: comp.lang.perl From: eastick@me.utoronto.ca (Doug Eastick) Subject: Perl and nameservers Message-ID: <1990Mar19.214012.5546@me.toronto.edu> Copyright: none Organisation: U of Toronto, Dept. of Mechanical Engineering Distribution: comp Date: 20 Mar 90 02:40:13 GMT On a vanilla BSD 4.3 system (UMIPS-BSD) using a UofT diddled BIND, if we want to use the nameserver (for gethostbyname() calls) we have to link it with "-lresolv". Currently, without compiling perl with -lresolv, we only get info from /etc/hosts (as usual). Compiling perl with -lresolv (specified in Configure) produces tonnes of errors. Is that the way to do it? Could be that our BIND was diddled in a way perl doesn't like. Thanks. -- Doug Eastick -- eastick@me.utoronto.ca