[Xitami] Problem with NSLOOKUP

Marc Doigny xitami@lists.xitami.org
Sat, 11 Oct 2003 14:49:41 +0200


Hello !

I have a strange problem with NSLOOKUP on a win2k server.

When i call nslookup from the command prompt, it works fine.
It works also fine when inside a batch script (writing it's output to a 
file or to the console screen).

When i call nslookup from a program that is called by Xitami (cgi-bin 
application), i always get the error "Default Server: UnKnown".
Same sort of error with another utility that also performs lookups ("no 
data"), so i think the problem is Xitami-related. (Xitami has the correct 
NT rights)

Is this a known error or is there a workaround?
I want to do a MX lookup on a domain to determine if a e-mail address is valid
(are they other alternatives than nslookup for performing a MX lookup? 
-could be a API call to some dll)

Marc


--::Mailserver Verfaillie Bauwens::-- contact [postmaster@verfaillie.com]
Alle mails gecontroleerd op virussen. Virusdefinities dagelijks aangepast.
http://www.verfaillie.com