Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
AddExtender("nslookup32i.dll") domain1="petrobras.com.br" mxanswer=nsmxlookup(domain1,"",0)
reliably causes crash: Faulting application winbatch studio.exe, version 2005.3.0.0, faulting module nslookup32i.dll, version 0.0.0.0, fault address 0x00001a24.
while dos based
nslookup -type=mx petrobras.com.bryields valid mx records?
I obtained the extender from the tech database. If you know who provided it, and can get it updated, that would be useful. What it provides is extremely useful...when it works. I gave it a list of 1000 domains, and it gave the correct answer mx records or failure) on all but a very few, on which it crashed.
Failing that, if you know the win dll calls it is using, and could indicate how to do the same thing...
I can accomplish what I need using the indicated command line, but the wrapper to read the results has been far too slow. I am trying to clean a mailing list of invalid domains.
I suspect it is a bug in the extender. Seems like an old one. The 32i extender indicates it was made for a very old version of Winbatch. The problem might be that it is not compatible with newer versions of Winbatch.
Maybe consider using dllcall to call the SDK DnsQuery and DnsRecordListFree functions.
Or if you have a c compiler handy, you could always build your own extender.
Article ID: W16872
File Created: 2017:07:28:12:58:59
Last Updated: 2007:07:03:13:26:40