How to implement nslookup in ASP?

hi guys,

I am trying to implement a domain
lookup page using nslookup in a ASP
page...
how can I do this?

I want to check if a name has been registered in the name server or not and provide a simple interface in ASP to do that...
(something like those found in the domain searching web sites)

Thanks a million!!

David
thiamwahAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mgfranzCommented:
How is your DNS configured?  When it doe sit's update, where and how does it store the name/ip data?
0
manojaminCommented:
I have created the COM component which uses NsLookup.exe (provided by MS) which will tell you if the Domain exist or not... If you need it send me your email address...

the ASP code will look lie this...

  Set myTest = Server.CreateObject("FindDomain.NsLookup")
      if (myTest.IsExist("www.microsoft.com") = True) then
            Response.Write("www.microsoft.com exists")
      else
            Response.Write("www.microsoft.com does not exist")
      end if
  Set myTest = nothing


let me know....
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
thiamwahAuthor Commented:
thanks!
my email is: thiamwah@yahoo.com
:) I am adding the points +50

0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

manojaminCommented:
I have sent it to you...
0
mgfranzCommented:
Can you send me a copy too?  mark.franz@lpl.lcom

Thanks,
0
manojaminCommented:
mgfranz,
alright! just sent it for you too..
0
mgfranzCommented:
Thanks, I owe you one.

M
0
mgfranzCommented:
Manojamin,

Can you send me the .asp sample page, it didn't make it in the .zip
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP

From novice to tech pro — start learning today.