0

In order to get the computer name, I used the reverse dns lookup method to get computer name from ip address. However, it works for some client and some client facing error on that when they browse the website publish under iis which run on anonymous authentication. I try to figure out the error exception which mean if the host was not readable it will return ip address instead of computer name which will be causing error for client side. I have stuck on this few weeks, anyone can help me regarding how to write the exception code?

Ivan Kaloyanov
  • 1,748
  • 6
  • 18
  • 24
Shi Jie Tio
  • 2,479
  • 5
  • 24
  • 41

0 Answers0