Internal DNS lookup in GetChatInfo() data?

Posted by Vaejor on Mon 21 Apr 2003 09:08 PM — 2 posts, 12,691 views.

#0
Would adding the domain name data to the GetChatInfo() data be hard to do? I see it being useful as a minor addition for authentication of people connecting ("is this person really who I think it is?"). IP ranges are possible to check for as well, but I find some ISPs tend to have strange ranges that seem to jump to several different range groups (my own ISP for instance), so the full domain name would be a bit easier to watch for.


..oh, if it is possible to do this via scripting, please let me know. I've looked around for VBScript capabilities for DNS lookups, but beyond some nasty WScript running the nslookup command, I haven't seen anything easily usable that doesn't require downloading and registering a new dll.
Australia Forum Administrator #1
I've added a couple of script routines to do name and reverse-name lookups, however for simplicity they are not asynchronous. You don't really want that anyway, as you need to know the answer now, not later.

See GetHostName, GetHostAddress.