DNS Lookup -Forward and Reverse

Author Message
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)
0
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.
 
#1
    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)
    0
    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.
     
    #2

      Online Bookmarks Sharing: Share/Bookmark

      Jump to:

      Current active users

      There are 0 members and 1 guests.

      Icon Legend and Permission

      • New Messages
      • No New Messages
      • Hot Topic w/ New Messages
      • Hot Topic w/o New Messages
      • Locked w/ New Messages
      • Locked w/o New Messages
      • Read Message
      • Post New Thread
      • Reply to message
      • Post New Poll
      • Submit Vote
      • Post reward post
      • Delete my own posts
      • Delete my own threads
      • Rate post

      2000-2012 ASPPlayground.NET Forum Version 3.9