Click here to Skip to main content
15,892,746 members
Please Sign up or sign in to vote.
5.00/5 (2 votes)
See more:
I'm using GetHostEntry on tons of threads. The problem is that sometimes the DNS must get bogged down by requests and not respond to it. GetHostEntry doesn't tell you whether the DNS failed to respond or just didn't have an entry. How do I make this more reliable? I'm looking for 100% reliability. Any help?
Posted

1 solution

I think you have to change timeout cache on one or more DNS servers that you are using. This way, the DNS server you are asking does not have to forward the query to the next and then the next and next DNS server, all the way up to the root server.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900