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:

StatusDescriptionVisual Indicator
IdleNo sync in progress, ready to syncGray badge
SyncingCurrently fetching domainsBlue badge with spinner
SyncedLast sync successfulGreen badge
FailedLast sync encountered errorRed 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 TypeDescriptionExample
AIPv4 address192.168.1.1
AAAAIPv6 address2001:db8::1
CNAMECanonical namewww.example.com
MXMail exchange10 mail.example.com
TXTText recordv=spf1 include:...
NSNameserverns1.example.com
SRVService record_service._proto.name
CAACertificate authority0 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

1-10 domains30-60 seconds
10-50 domains1-3 minutes
50-100 domains3-5 minutes
100+ domains5-10 minutes

Factors Affecting Speed

  1. Number of domains - More domains take longer
  2. DNS records per domain - Complex DNS takes time
  3. Registrar API speed - Varies by provider
  4. Network latency - Connection speed matters
  5. Rate limits - API throttling may apply

Background Processing

Domain Collective uses Vercel Functions for background synchronization:

How It Works

  1. Request initiated - User triggers sync
  2. Response sent - Immediate acknowledgment
  3. Background task - Sync runs asynchronously
  4. Status updates - Real-time progress
  5. 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:

RegistrarTheir FieldOur Field
GoDaddydomaindomainName
NamecheapDomainNamedomainName
GandifqdndomainName
GoDaddyexpiresexpiryDate
NamecheapExpiresexpiryDate
Gandidates.registry_ends_atexpiryDate

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:

  1. After registrar changes - Updated DNS, nameservers, etc.
  2. Domain additions - Added new domains at registrar
  3. Credential updates - Changed API tokens
  4. Data verification - Ensuring accuracy
  5. Troubleshooting - Resolving sync issues

How to Trigger

  1. Navigate to Integrations page
  2. Find the integration card
  3. Click "Sync Now" button
  4. Wait for completion

Rate Limiting: Manual syncs are limited to once per minute per integration to prevent API abuse.

Sync Errors

Common Error Types

ErrorCauseSolution
Authentication FailedInvalid/expired credentialsUpdate credentials
Rate Limit ExceededToo many API requestsWait and retry
Network ErrorConnection issuesCheck connectivity
No Domains FoundEmpty account or permissionsVerify at registrar
TimeoutLarge portfolio or slow APIRetry or contact support

Error Recovery

Domain Collective handles errors gracefully:

  1. Partial success - Synced domains are saved
  2. Error logging - Details preserved for debugging
  3. User notification - Clear error messages
  4. Retry capability - Manual retry available

Monitoring Sync Status

Integration Card Indicators

Syncing...
Currently synchronizing
Synced
Last sync successful
Failed
Error occurred - check message
Idle
Ready for next sync

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

  1. Stagger syncs - Don't sync all integrations at once
  2. Off-peak hours - Sync during low-traffic times
  3. Monitor errors - Address issues promptly
  4. 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:

  1. Wait up to 10 minutes
  2. Check integration card for errors
  3. Try manual sync again
  4. Contact support if persists

Missing Domains

Possible causes:

  • Domains expired/transferred
  • API permissions limited
  • Pagination issue

Solutions:

  1. Verify at registrar directly
  2. Check API scope/permissions
  3. Manual sync to retry
  4. Report specific domains to support

Incorrect Data

Possible causes:

  • Registrar API changes
  • Field mapping issues
  • Cache problems

Solutions:

  1. Trigger manual sync
  2. Clear browser cache
  3. Compare with registrar
  4. 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 →