On Thu, Aug 26, 2010 at 09:41:49AM +0800, Ning Dong wrote: > Providing APIs to control DNS server is a great idea especially in China. > In China, most people access internet with some stupid DNS servers provided > by some more stupid telecomm companies. > These DNS servers failed to resolve domain name frequently without any > reason, but even worse, they response a IP of a telecomm server when > resolving fail. > So, I've already add such option in my curl lib.
For such a case it would make more sense to set the system-wide DNS server to a working one instead of just fixing one libcurl-using app. On a tangential note, DNS was designed to be globally valid, with any recursive server able to resolve any DNS entry. It's only peoples' perversion of DNS into disconnected resolving islands that this whole thread has come up. It's too bad that this mess has to be solved piecemeal like this. >>> Dan ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
