Change your domain's nameservers

nameservers, dns, registrar, delegation, switch · 0 found this helpful

Change nameservers to move DNS from one provider to another. Do the checklist first. A change with missing records is the usual cause of email outages.

Before you start

  1. Copy your current records. Open DNS at your current provider and note every A, AAAA, CNAME, MX, TXT, and SRV record. Take a screenshot.
  2. Recreate them at the new provider before you switch. For Barbrick, use Account → Hosting → your site → DNS. See Add, edit, and delete DNS records.
  3. Lower the TTL to 300 seconds on records you care about, a day or two ahead. See TTL.
  4. Pick a quiet time. Early in the day lets you fix problems while support is open.

If your domain is registered with Barbrick

  1. Sign in at https://barbrick.ca/account.
  2. Go to Account → Domains and select the domain.
  3. Open the Nameservers tab.
  4. Choose Custom nameservers, or Barbrick nameservers to use ours.
  5. For custom nameservers, enter them. Then select Change Nameservers.

Barbrick's nameservers:

gordon.barbrick.ca
hugh.barbrick.ca
douglas.barbrick.ca

If your domain is registered elsewhere

  1. Log in to your registrar.
  2. Find Nameservers, DNS, or Domain settings for the domain.
  3. Switch from the registrar's default to Custom nameservers.
  4. Replace the existing entries with the new ones. Remove all old ones. Mixed sets cause random failures.
  5. Save.

Confirm it worked

dig +short NS example.ca
gordon.barbrick.ca.
hugh.barbrick.ca.
douglas.barbrick.ca.

Then test each service.

Check How
Website Visit https://example.ca in a private window
Email in Send a message to [email protected] from another account
Email out Send one from [email protected] to another account
SSL Check the padlock. AutoSSL may take a short time after the switch. See Free SSL with AutoSSL.

Timing

Registries usually update within an hour. Resolvers may take longer. Allow up to 24 hours. See DNS propagation.

If something goes wrong

  • Email stopped. MX records are missing from the new zone. Add them now. See MX records.
  • Site shows an old version. You are waiting on caches. Query the nameserver directly with dig @gordon.barbrick.ca example.ca.
  • Some visitors see the old site. Normal during propagation.
  • Revert. Put the old nameservers back. Records at the old provider return immediately for new lookups.

Was this helpful?

Still stuck? Ask us and we'll walk you through it.