The 3-Tier High-Speed Discovery Pipeline
BulkDomainSearch.si resolves thousands of names smoothly because it never fires uncoordinated network floods. Instead, it utilizes a strict 3-tier pipeline:
- Ingestion & Lexical Sanitization: Words are stripped of whitespace, normalized from unicode diacritics into Punycode, deduplicated using high-performance HashSets, and split into 50-item batches.
- Tier 1: Pre-Flight DNS Filtering: Utilizing high-speed UDP DNS queries, candidate names are inspected for
NXDOMAIN(Non-Existent Domain). Over 85% of registered domains have active nameservers and can be flagged immediately. - Tier 2: Authoritative RDAP Verification: For domains returning
NXDOMAIN, the engine dispatches targeted RDAP requests tordap.register.sito ensure the domain is not simply parked or pending delegation.
Handling Registry Throttling with Exponential Jitter
Registries enforce firewall rules to prevent denial-of-service attacks. When an RDAP server returns HTTP 429 Too Many Requests, a naive scanner fails.
BulkDomainSearch.si implements an adaptive algorithm:
async function queryWithBackoff(domain: string, attempt = 1): Promise<boolean> {
const maxAttempts = 4;
try {
const res = await fetch(`https://rdap.register.si/domain/${domain}.si`);
if (res.status === 404) return true; // Available
if (res.status === 200) return false; // Registered
if (res.status === 429 && attempt < maxAttempts) {
const delay = Math.pow(2, attempt) * 100 + Math.random() * 50;
await new Promise(r => setTimeout(r, delay));
return queryWithBackoff(domain, attempt + 1);
}
} catch (err) {
if (attempt < maxAttempts) return queryWithBackoff(domain, attempt + 1);
}
return false;
}
