[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] DNS server using Net::UDP and Net::DNS in Mac Perl?



On Thu, 31 Dec 1998 22:09:36 -0700, Richard Johnson wrote:
>
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>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.

>
>So, before I dive into a porting effort, I've got a couple of questions:
>
>o Has anyone else worked on these in the past, and if so, is there
>  any even partial port publicly available?
>o Should I instead consider alternatives to Net::UDP and Net::DNS?
>
>
>Richard
>
>-----BEGIN PGP SIGNATURE-----
>Version: PGP Personal Privacy 6.0.2
>Comment: www.europarl.eu.int/dg4/stoa/en/publi/166499/execsum.htm
>
>iQA/AwUBNoxYYmKSuJuuNAZUEQIo5ACeKW/8rNwLj3n2Ppu36I3Ud99OfYkAoL2h
>BrEiAK9LF2qvfdlwNZqi7K4B
>=xJcf
>-----END PGP SIGNATURE-----
>

-------
Paul J. Schinder
schinder@pobox.com


***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch