Hi, while looking into an async dns solution i found the code to recheck dns servers in libevent. I dont think checking for google.com is a very good choice. In the past even ccTLDs have disappeared or start to disappear (.su, .dd, .yu) despite companys renaming, disappearing or having hicups.
Hopefully libevent will last much longer than google and suddenly applications start to fail in mysterious ways because people did not upgrade in the last 5 years. So the only real static solution i would see is a NS query for "." e.g. Root Nameserver NS addresses. Although all of these choices would not really help in case of a nameserver responding with cache content but not beeing able to resolve (forwarders down or unreachable). A much better option would be to once every now and then requeue a real query for the nameserver beeing down probably a dupe of a real query and check with that. Flo -- Florian Lohoff [EMAIL PROTECTED] +49-171-2280134 Those who would give up a little freedom to get a little security shall soon have neither - Benjamin Franklin
signature.asc
Description: Digital signature
_______________________________________________ Libevent-users mailing list Libevent-users@monkey.org http://monkeymail.org/mailman/listinfo/libevent-users