The problem is the user only does have an account with a Perl but he can't
install things on the server.
I'm not that familiar with Perl only some simple CGI script writing.
On UNIX it isn't a problem simply call the standard dig (or nslookup)
program and read its output through a pipe.
Or simply call sendmail (perhaps with simply using bacticks)
However I don't know a way to do it on Windows NT.
Thanks for any reply
Rob,
rv...@comweb.nl
There may be an OS-specific way for NT, alternatively you could use a
pure Perl implementation of the DNS client. You can find one in the
usual place (see FAQ "What modules and extensions are available for
Perl?...")
> The problem is the user only does have an account with a Perl but he can't
> install things on the server.
So the user can only run scripts provided by the server admins, he
can't install his own. In that case he's onto a looser. Perhaps you
are really trying to ask "How do I keep my own module/library
directory?"
> I'm not that familiar with Perl only some simple CGI script writing.
I don't understand. What language are you writing those GCI scripts
in? Python? Java? Bourne shell? If you have been writing CGI
scripts in some other langauage what relevance does this information
have to the matter in hand?
>How do I determine the MX record of a domain with Perl on NT servers.
There's an MX related function/module available in some DNS related
suite... Try Net::DNS. Ah, yes:
<http://www.fuhr.org/~mfuhr/perldns/DNS.html#mx>
--
Bart.
I think I mean this.
I'm not that familiar with Perl modules.
Think I should read a book on the modul subjec.
I always assumed that only the root could insall Perl modules.
like net::DNS
So I think my assumtion is incorrect.
Is it ?
>
> > I'm not that familiar with Perl only some simple CGI script writing.
>
> I don't understand. What language are you writing those GCI scripts
> in? Python? Java? Bourne shell? If you have been writing CGI
> scripts in some other langauage what relevance does this information
> have to the matter in hand?
Normaly Perl.
But that are just some very simple scripts.
If I can I always try to solve the problem with Java.
It about a year ago I last programmed in Perl.
Rob,
rv...@comweb.nl