DNS Lookup in ASP.Net
Posted
by Dave Forgac
on Stack Overflow
See other posts from Stack Overflow
or by Dave Forgac
Published on 2009-07-11T13:09:27Z
Indexed on
2010/05/09
5:28 UTC
Read the original article
Hit count: 225
I have a Windows server that is intermittently losing the ability to lookup DNS information. I'm trying to get to the root cause of the problem but in the mean time I'd like to be able to monitor whether the server can perform lookups.
Basically, it should attempt to lookup some common hostnames and the display 'Success' if the lookups are successful.
I see lots of examples of doing this with third party components in ASP.NET but I would prefer to be able to do this with a single ASP.Net script that would be portable and not require anything additional be installed.
© Stack Overflow or respective owner