-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 At 23:03 -0700 on 12/31/98, Paul J. Schinder wrote: > On Thu, 31 Dec 1998 22:09:36 -0700, Richard Johnson wrote: > > > >I'm rewriting a prototype DNS server (UDP only, answers simple queries > >only), and thinking of replacing my very ugly "teach myself DNS by > >reading the RFCs" code, using Net::DNS and Net::UDP instead. > > > >However, those modules are not part of the stock Mac Perl distribution. > >Net::DNS at least has some compilation problems on the Mac -- I > >haven't really tried anything with Net::UDP yet. > > As I recall, Net::DNS works fine under MacPerl provided you deal with > the /etc/resolv.conf problem. I simply put a resolv.conf in the same > folder as DNS.pm and changed the path accordingly. (If you don't know > the format, let me know and I can send you one.) "Compilation problems" > sounds as if you forgot to change the end-of-line of the files. Indeed it does work fine. Once I got rid of the bogus DNS.pm I had sitting in the way in my library search path, the real DNS.pm was happy. This will teach me to play around with the Stanford load-balancing DNS multiplexer, then forget that I'd left it in the way. Oops. Anyway, since I'm not actually using the resolver yet, I didn't even need to add the resolv.conf. Thanks for the pointer, though, as it will save me trouble the next time I pay attention to this code. Finally, I also took a look at Net-ext's Net::UDP, discovered AutoLoader.pm problems, and decided to stick with my own basic socket code. (Better the evil I already know. :-) Richard -----BEGIN PGP SIGNATURE----- Version: PGP Personal Privacy 6.0.2 Comment: www.europarl.eu.int/dg4/stoa/en/publi/166499/execsum.htm iQA/AwUBNo2+GWKSuJuuNAZUEQLmAQCg+EjEElVTiTmgnsKCVWwUT3uv1SQAn189 0tSoebE7doAlgvYemlWWul6y =twFt -----END PGP SIGNATURE----- ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch