Domain Synchronization
How Domain Collective syncs and manages your domains
Domain Synchronization
Domain synchronization is the core feature of Domain Collective, automatically fetching and updating your domain information from all connected registrars.
How Synchronization Works
The Sync Process
When a sync is triggered, Domain Collective performs these steps:
graph TD
A[Sync Triggered] --> B{Validate Credentials}
B -->|Valid| C[Fetch Domains]
B -->|Invalid| D[Authentication Error]
C --> E[Process Each Domain]
E --> F[Fetch DNS Records]
F --> G[Update Database]
G --> H[Update Dashboard]
H --> I[Sync Complete]
D --> J[Show Error]Sync Types
Automatic Sync
Triggered automatically when:
- • Adding new integration
- • Updating credentials
- • System maintenance
Manual Sync
User-initiated sync via:
- • "Sync Now" button
- • Rate limited (1/minute)
- • Immediate feedback
Sync Status States
Your integration can be in one of these states:
| Status | Description | Visual Indicator |
|---|---|---|
| Idle | No sync in progress, ready to sync | Gray badge |
| Syncing | Currently fetching domains | Blue badge with spinner |
| Synced | Last sync successful | Green badge |
| Failed | Last sync encountered error | Red badge |
What Gets Synchronized
Domain Information
Core domain data synced from registrars:
- Domain Name - The FQDN (fully qualified domain name)
- Registration Date - When domain was registered
- Expiry Date - When domain expires
- Auto-Renewal - Automatic renewal status
- Privacy Protection - WHOIS privacy status
- Transfer Lock - Domain lock status
- Registrar DNS - Using registrar's nameservers
DNS Records
All standard DNS record types:
| Record Type | Description | Example |
|---|---|---|
| A | IPv4 address | 192.168.1.1 |
| AAAA | IPv6 address | 2001:db8::1 |
| CNAME | Canonical name | www.example.com |
| MX | Mail exchange | 10 mail.example.com |
| TXT | Text record | v=spf1 include:... |
| NS | Nameserver | ns1.example.com |
| SRV | Service record | _service._proto.name |
| CAA | Certificate authority | 0 issue "ca.com" |
Nameserver Configuration
Current nameserver setup:
- Primary and secondary nameservers
- Registrar vs custom nameservers
- Provider detection (Cloudflare, Vercel, etc.)
Sync Performance
Timing Expectations
Sync duration depends on several factors:
Typical Sync Times
Factors Affecting Speed
- Number of domains - More domains take longer
- DNS records per domain - Complex DNS takes time
- Registrar API speed - Varies by provider
- Network latency - Connection speed matters
- Rate limits - API throttling may apply
Background Processing
Domain Collective uses Vercel Functions for background synchronization:
How It Works
- Request initiated - User triggers sync
- Response sent - Immediate acknowledgment
- Background task - Sync runs asynchronously
- Status updates - Real-time progress
- Completion - Dashboard refreshes
Benefits
- No waiting - UI remains responsive
- Parallel processing - Multiple domains at once
- Error isolation - One failure doesn't stop others
- Automatic retry - Failed items retry
Data Consistency
Field Standardization
Different registrars use different field names. Domain Collective standardizes these:
| Registrar | Their Field | Our Field |
|---|---|---|
| GoDaddy | domain | domainName |
| Namecheap | DomainName | domainName |
| Gandi | fqdn | domainName |
| GoDaddy | expires | expiryDate |
| Namecheap | Expires | expiryDate |
| Gandi | dates.registry_ends_at | expiryDate |
Raw Data Preservation
Domain Collective stores both:
- Standardized data - For consistent UI/API
- Raw response - Original registrar data
This dual storage ensures:
- No data loss during mapping
- Ability to extract new fields later
- Debugging capability
- Future compatibility
Manual Sync
When to Use Manual Sync
Trigger a manual sync when:
- After registrar changes - Updated DNS, nameservers, etc.
- Domain additions - Added new domains at registrar
- Credential updates - Changed API tokens
- Data verification - Ensuring accuracy
- Troubleshooting - Resolving sync issues
How to Trigger
- Navigate to Integrations page
- Find the integration card
- Click "Sync Now" button
- Wait for completion
Rate Limiting: Manual syncs are limited to once per minute per integration to prevent API abuse.
Sync Errors
Common Error Types
| Error | Cause | Solution |
|---|---|---|
| Authentication Failed | Invalid/expired credentials | Update credentials |
| Rate Limit Exceeded | Too many API requests | Wait and retry |
| Network Error | Connection issues | Check connectivity |
| No Domains Found | Empty account or permissions | Verify at registrar |
| Timeout | Large portfolio or slow API | Retry or contact support |
Error Recovery
Domain Collective handles errors gracefully:
- Partial success - Synced domains are saved
- Error logging - Details preserved for debugging
- User notification - Clear error messages
- Retry capability - Manual retry available
Monitoring Sync Status
Integration Card Indicators
Activity Indicators
- Progress bar - Shows sync progress
- Domain counter - Updates as domains sync
- Last sync time - "2 minutes ago"
- Error messages - Specific failure reasons
Best Practices
Optimal Sync Frequency
- Weekly - For most users
- Daily - For active domain traders
- After changes - When modifying at registrar
- Before expiry - Check renewal status
Performance Tips
- Stagger syncs - Don't sync all integrations at once
- Off-peak hours - Sync during low-traffic times
- Monitor errors - Address issues promptly
- Keep credentials current - Update before expiry
Data Accuracy
- Verify counts - Ensure all domains appear
- Check dates - Confirm expiry dates correct
- Review DNS - Validate record accuracy
- Test changes - Sync after registrar updates
Advanced Topics
Incremental Sync (Future)
Planned enhancement for faster syncs:
- Only fetch changed domains
- Track modification timestamps
- Reduce API calls
- Faster updates
Webhook Integration (Future)
Real-time updates via webhooks:
- Instant change notification
- No polling required
- Reduced latency
- Better efficiency
Sync Scheduling (Future)
Automated sync scheduling:
- Daily/weekly/monthly options
- Time-based triggers
- Batch processing
- Email notifications
Troubleshooting
Sync Never Completes
Possible causes:
- Very large portfolio (500+ domains)
- Network interruption
- API timeout
Solutions:
- Wait up to 10 minutes
- Check integration card for errors
- Try manual sync again
- Contact support if persists
Missing Domains
Possible causes:
- Domains expired/transferred
- API permissions limited
- Pagination issue
Solutions:
- Verify at registrar directly
- Check API scope/permissions
- Manual sync to retry
- Report specific domains to support
Incorrect Data
Possible causes:
- Registrar API changes
- Field mapping issues
- Cache problems
Solutions:
- Trigger manual sync
- Clear browser cache
- Compare with registrar
- Report discrepancies
Frequently Asked Questions
How often should I sync my domains?
We recommend weekly syncs for most users. If you actively trade domains or make frequent changes, daily syncs may be beneficial.
Can I sync multiple integrations simultaneously?
Yes, but we recommend staggering them to avoid overwhelming the system. Each integration syncs independently.
What happens if sync fails halfway?
Successfully synced domains are saved. The integration shows an error, and you can retry to sync remaining domains.
Does syncing affect my domains at the registrar?
No, synchronization is read-only. It fetches data without making any changes to your domains.
Why does sync take longer sometimes?
Factors include the number of domains, DNS complexity, registrar API speed, and current system load.
Continue learning: DNS Management → | Nameservers →