NetRock
-
Total Posts
:
2
- Scores: 0
-
Reward points
:
0
- Joined: 9/30/2011
-
Status: offline
|
DNS Lookup -Forward and Reverse
Friday, November 18, 2011 7:30 AM
( permalink)
Hi, I was trying to write VBScript to do DNS Lookup and according to the Result creates a registry key. after trying several times and not able to get it worked, found the following link: http://www.naterice.com/articles/49 it does mostly what i want but the issue is, it works only with English OS ( ex: If InStr(sResults, "Name:" Then... - "Name" will be different in Spanish OS), need to get it work with all languages. wondering if someone can help me to find a solution. Thanks. A quick prompt appreciated.
|
|
|
|
59cobalt
-
Total Posts
:
969
- Scores: 91
-
Reward points
:
0
- Joined: 7/17/2011
-
Status: offline
|
Re:DNS Lookup -Forward and Reverse
Monday, November 21, 2011 8:46 AM
( permalink)
Well, if you need to get it to work with all languages, then you either need it to understand the word "name" in all languages, or you have to extract a substring at a particular line number on the correct side of the colon. Provided that all languages actually use a colon for this kind of separation.
|
|
|
|