VB 6.0 - Forward and Reverse DNS - Asked By Net Rock on 23-Nov-11 03:11 PM
I was trying to write VBscript to resolve DNS FQDN. So far what i found is:
Using NSLOOKUP and then look for string "Name:" and "Address:" that's fine. but how about if we need to run this in different OS language like: Spanish, French....etc. is there a way to use the same technique or there is other way to resolve forward and reverse DNS lookup.
Thanks in advance for your help.
Robbe Morris replied to Net Rock on 23-Nov-11 06:32 PM
I would think the english language arguments would still work.
Net Rock replied to Robbe Morris on 24-Nov-11 07:50 AM
Thank you for your comments. Unfortunately, English.... does not work. Just try Spanish OS or French and you will see....
Robbe Morris replied to Net Rock on 24-Nov-11 09:41 AM
VBScript is probably not the right choice anyway. A lot of anti-virus software is going to flag it as being malware just because it is script.
I think you'll have to handle the translations yourself then. Your other option is to create a web site that executes the nslookup from an english server. Then, set your vbscript to make an http request to your server. This would let you make updates to your script on the server without having to redeploy it to all the clients.
Net Rock replied to Robbe Morris on 24-Nov-11 12:03 PM
Creating Web site..... Not option in this case as the network is in a close environment with No Internet access.
i guess i have to make dictionary with some IF statements.....!!!
Robbe Morris replied to Net Rock on 24-Nov-11 08:31 PM
Out of curiousity, if you do not have internet access, why would you ever need to run a reverse dns lookup?
Net Rock replied to Robbe Morris on 25-Nov-11 12:46 PM
You do not ""NEED"" to have Internet access.....in a close network still you can use DNS, AD,....
Robbe Morris replied to Net Rock on 25-Nov-11 01:29 PM
Of course. What I was trying to understand was that if you were on a closed network, what would be the real world need to do a reverse DNS lookup. I would think you'd already know what domain names resolve to.