Hello, Can one optimize the "availability" check to only ask OpenSRS about domains one is uncertain about? For instance, suppose the domain is "abc.xxx" and you want to check on the availability of abc.com/net/org
If on you're local server you're able to do a DNS lookup for the abc.com/net/org (e.g. via ping, dig or another tool -- I'm not a DNS wizard), and find that a host such as www.abc.com exists, you don't need to query OpenSRS as it is definitely unavailable. Assuming local lookups via your local DNS server is faster than querying OpenSRS, you've just saved some time. If instead you find that the host doesn't exist (e.g. for www.abc.org), this does NOT mean that the domain is available (e.g. a domain with no name servers, or that was just registered 10 millisecond ago). In this case, you must still send OpenSRS the availability check command (in which case you've wasted some time, as you could have queried OpenSRS directly). The question is, are more domains available than are not available? Depending on the ratio, you might save some time doing the above, on average... Another option might be to cache the root zone file locally, as that would make lookup times for definitely unavailable domains almost instantaneous. Although, it's an enormous file....(not sure if diffs are available daily??). Sincerely, George Kirikos http://www.kirikos.com/ __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/
