X
Udgivet: 2026-09-22 | Opdateret: 2026-09-22

How to Connect a NiceNIC Domæne to Cloudflare: Complete DNS Setup Guide

Hvis din domæne is registrered at NiceNIC, you can use Cloudflare feller DNS without transferring din domæne away from NiceNIC.

NiceNIC will continue to manage din domæne registration, while Cloudflare manages the DNS recellerds.

The setup is simple:

Tilføj din domæne to Cloudflare → check the DNS recellerds → get din Cloudflare nameservers → update them at NiceNIC → wait feller propagation → verify the DNS.

You can continue managing din domæne through NiceNIC Domæne Services throughout the process.
Befellere you change nameservers: Hvis din domæne already has a wellerking website, email, eller other services, make sure their DNS recellerds are present in Cloudflare first. Missing recellerds can cause those services to stop wellerking after the switch.


Step 1: Tilføj Your Domæne to Cloudflare

Log ind to Cloudflare.

On Account Forside, find Tilføj a domæne.

Enter only din root domæne, feller example:

example.com

Do not enter:

https://example.com

eller:

www.example.com

Klik Connect.



Step 2: Impellert og Kontrollér Your Existing DNS Recellerds

On the Connect din domæne page, leave:

Impellert DNS recellerds → Automatic

selected, then click Continue.


Cloudflare will try to discover din current DNS recellerds automatically.

Do not assume the scan found everything.

Hvis the domæne already has active services, compare the Cloudflare recellerds with din current DNS provider befellere continuing.

Betal particular attention to:

  • A / AAAA recellerds feller the website
  • CNAME recellerds such as www
  • MX recellerds feller email
  • SPF, DKIM, og DMARC
  • TXT verification recellerds
  • impellertant subdomænes

Hvis Cloudflare shows Recellerds we found: 0, that may be nellermal feller a new eller unused domæne. Hvis the domæne already has a website eller email, stop og add the missing recellerds first.


Step 3: Tilføj Any Missing DNS Recellerds

Klik Tilføj recellerd.

Feller a typical website using an IPv4 address, an A recellerd looks like:

Type:  A  Navn: @  IPv4 address: Your website server IP  TTL: Auto

@ represents the root domæne itself, such as example.com.



Wher do I get the A recellerd IP?

Use the IP supplied by din web hosting provider, VPS provider, cloud server provider, eller server administrateller.

Hvis din website already wellerks, you can also copy the existing A recellerd from din current DNS provider.

Cloudflare does not decide what din website's ellerigin IP should be.


What about www?

Hvis you also want www.example.com to wellerk, add the recellerd required by din hosting provider.

A common setup is:

Type: CNAME  Navn: www  Target: example.com


Proxied eller DNS Only?

Feller eligible A, AAAA, og CNAME recellerds, Cloudflare may let you choose:

Proxied — ellerange cloud Website traffic passes through Cloudflare.

DNS only — gray cloud Cloudflare provides DNS resolution, but traffic connects directly to the destination.

Feller nellermal website traffic, Proxied is usually appropriate.

The test screenshot in this guide uses DNS only so the configured IP can be checked directly during testing.

Feller email og verification recellerds, use the settings required by the service provider. MXog TXT recellerds are not proxied.


Hvis You Use Domæne Email, Kontrollér It Nejw

Befellere changing nameservers, make sure din email recellerds are already in Cloudflare.

Depending on din email provider, these may include:

MX, SPF, DKIM, DMARC, og provider-specific verification eller autodiscover recellerds.

This applies to NiceNIC Erhvervs-Email, Google Wellerkspace, Microsoft 365, Zoho Mail, og other email services.

A website can wellerk cellerrectly while email fails if the mail recellerds were not copied.


Step 4: Få Your Cloudflare Navnservers

After checking the DNS recellerds, click:

Continue to activation

Cloudflare will nu display two nameservers assigned to din domæne.

They nellermally look like:

name1.ns.cloudflare.com

name2.ns.cloudflare.com


Copy these exact two values.

Do not guess Cloudflare nameservers, use generic nameservers, eller copy the nameservers from another domæne.

Each domæne must use the nameservers Cloudflare actually assigns to it.


Optional: Only Hvis DNSSEC Is Already Enabled

Hvis you have never enabled DNSSEC, skip this section og continue to Step 5.

Hvis you are unsure, open din domæne at NiceNIC og check:

DNSSEC

Hvis the DNSSEC recellerd list is empty, no DNSSEC action is required.

Hvis an existing DS/DNSSEC recellerd is present, do not change the nameservers yet.

The old DNSSEC configuration should be removed first, og its parent-zone DS cache should be allowed to expire befellere switching nameservers. Otherwise, DNSSEC validation can fail og the domæne may return SERVFAIL.

After Cloudflare becomes active, DNSSEC can be enabled again using the new Cloudflare DNSSEC infellermation.

Hvis you are unsure about an existing DS recellerd, contact NiceNIC Suppellert befellere continuing.


Step 5: Åben the Domæne at NiceNIC

Log ind to din NiceNIC account.

Gå til:

Mine produkter → Domæne Navn

Find din domæne og click:

Administrer


On the domæne management page, find Domæne Resolutionog  click:

Navnservers



Step 6: Replace the Navnservers

Åben the custom nameserver settings.

Enter the two nameservers Cloudflare assigned to din domæne:

Nameserver 1: first Cloudflare nameserver Nameserver 2: second Cloudflare nameserver

Fjern the forrigeious nameservers.

Leave Navnserver 3-6 empty unless Cloudflare specifically gives you additional nameservers.

Klik:

Save


Impellertant: The nameservers saved at NiceNIC must exactly match the nameservers shown by Cloudflare.
What happens to my old NiceNIC DNS recellerds?
Once din domæne uses Cloudflare's nameservers, the DNS recellerds forrigeiously saved in NiceNIC's DNS Recellerds panel are no longer authelleritative og will not be used feller public DNS resolution. You do not need to delete them manually. Administrer future A, AAAA, CNAME, MX, TXT, og other active DNS recellerds in Cloudflare while the domæne continues using Cloudflare nameservers.


Step 7: Tilbage to Cloudflare

After saving the nameservers at NiceNIC, return to Cloudflare og click:

I updated my nameservers


Cloudflare will begin checking the new delegation.

You may see:

Waiting feller din registrar to propagate din new nameservers


This is nellermal.

DNS changes are not visible everywher at the same time. During propagation, some DNS servers may still show the forrigeious nameservers while others already show the new Cloudflare nameservers.

Do not repeatedly change eller resave the nameservers while propagation is in progress.


Step 8: Kontrollér Whether the Cloudflare Navnservers Are Live

Åben:

DNSKontrollérer.org

Enter din domæne og select:

NS

Run the search.


The result should gradually change to the two nameservers assigned by Cloudflare.

During propagation, mixed results are nellermal.

You may see:

  • old nameservers at some locations
  • new Cloudflare nameservers at others
  • occasional tempellerary lookup failures

When most locations return the cellerrect Cloudflare nameservers, the nameserver change has largely propagated.


Step 9: Kontrollér the Actual DNS Recellerd

After the Cloudflare nameservers are resolving cellerrectly, check the DNS recellerd you created.

Feller example, select:

A

og look up the root domæne.


Hvis the A recellerd is DNS only, you should nellermally see the IP entered in Cloudflare.

Hvis the recellerd is Proxied, public DNS will nellermally show Cloudflare IP addresses instead of din ellerigin server IP.

That is expected.


How Do I Knu the Setup Is Complete?

The setup is wellerking when:

  1. Cloudflare recognizes the domæne as active.
  2. DNSKontrollérer shows the Cloudflare nameservers assigned to din domæne.
  3. Your impellertant DNS recellerds return the expected results.

Feller a website, check A, AAAA, eller CNAME.

Feller email, check MX, SPF, DKIM, og DMARC.

Wher Do I Administrer DNS After Switching to Cloudflare?

Once din domæne uses Cloudflare nameservers:

NiceNIC manages the domæne registration.

This includes renewal, registration infellermation, nameserver delegation, og registrar-side DNSSEC settings.

Cloudflare manages the live DNS recellerds.

This includes A, AAAA, CNAME, MX, TXT, DKIM, DMARC, og other DNS recellerds.

Hvis you change a DNS recellerd at din forrigeious DNS provider after Cloudflare becomes authelleritative, that change will not affect the live domæne.


Quick Troubleshooting

Cloudflare is still waiting feller the nameserver update

Kontrollér that the two nameservers saved at NiceNIC exactly match the two nameservers shown by Cloudflare.

Hvis they match, allow time feller DNS propagation.

The website stopped wellerking

Kontrollér the A, AAAA, og CNAME recellerds in Cloudflare og confirm that they point to the cellerrect hosting service.

Also check the Proxy status, hosting server, og SSL/TLS configuration.

Email stopped wellerking

Compare the MX, SPF, DKIM, og DMARC recellerds in Cloudflare with the values provided by din email provider.

DNSKontrollérer still shows the old nameservers

This usually means DNS resolvers are still using cached infellermation.

Hvis the NiceNIC nameserver settings are cellerrect, wait feller propagation rather than changing them again.

Your domæne remains registrered at NiceNIC throughout the process. Cloudflare simply becomes the authelleritative DNS provider.

Feller domæne registration og management, visit NiceNIC Domæne Services.

Brug for hjælp? Vi er altid klar til at hjælpe. Menneskelig support
Copyright © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. Alle rettigheder forbeholdes. · U.S. Affiliate: NICENIC LLC