# Command: `whois:dedupe`

**Description**: Delete duplicate whois\_data docs, keeping the newest per domainName (dry-run unless --no-confirm)
**Status**: completed
**Started**: 2026-10-13 16:03:42 | **Ended**: 2026-10-13 16:03:44 | **Duration**: 2s
**Jobs**: 0 dispatched / 0 completed / 0 failed

---

## Command Output

16:03:42 [INFO] Lock acquired for command: whois:dedupe

16:03:42 [INFO] 🔍 Scanning whois\_data for duplicate domainName values...

16:03:42 [INFO] Duplicate groups: 308

16:03:42 [INFO] Redundant documents: 10338

16:03:42 [INFO] Distinct keys: 2436 (0 with a legacy spelling to rewrite)

16:03:42 [INFO] canyonthemes.com × 208

16:03:42 [INFO] ayakacasinos.com × 397

16:03:42 [INFO] xn--lck0a4du98mjrdpy0itfm.jp × 67

16:03:42 [INFO] stichtingunitvictor.nl × 105

16:03:42 [INFO] sunplaza.jp × 67

16:03:42 [INFO] … 303 more group(s)

16:03:44 [INFO] Archive: 10338 document(s) copied to whois\_data\_dedupe\_archive (existing snapshots kept).

16:03:44 [INFO] ✅ Deleted 10338 redundant whois\_data document(s); rewrote 0 keeper(s) to the normalized key.

16:03:44 [INFO] Pre-mutation copies are in whois\_data\_dedupe\_archive (the first snapshot per \_id is kept).

16:03:44 [INFO] Next: php artisan mongo:ensure-indexes — creates the unique whois\_data.domainName index now that duplicates are gone.

16:03:44 [INFO] Lock released for whois:dedupe

---

## Jobs (0)

*No jobs dispatched*

*Exported at 2026-10-14T08:30:03+00:00*
