How to Connect a NiceNIC Domēns to Cloudflare: Complete DNS Setup Guide
Ja jūsu domēns is reģistrēted at NiceNIC, you can use Cloudflare fvai DNS without transferring jūsu domēns away from NiceNIC.
NiceNIC will continue to manage jūsu domēns registration, while Cloudflare manages the DNS recvaids.
The setup is simple:
Pievienot jūsu domēns to Cloudflare → check the DNS recvaids → get jūsu Cloudflare nameservers → update them at NiceNIC → wait fvai propagation → verify the DNS.
You can continue managing jūsu domēns through NiceNIC Domēns Services throughout the process.
Befvaie you change nameservers: Ja jūsu domēns already has a wvaiking website, email, vai other pakalpojumss, make sure their DNS recvaids are present in Cloudflare first. Missing recvaids can cause those pakalpojumss to stop wvaiking after the switch.
Step 1: Pievienot Your Domēns to Cloudflare
Pierakstīties to Cloudflare.
On Account Sākums, find Pievienot a domēns.
Enter only jūsu root domēns, fvai example:
example.com
Do not enter:
https://example.com
vai:
www.example.com
Noklikšķiniet Connect.
Step 2: Impvait un Pārbaudīt Your Existing DNS Recvaids
On the Connect jūsu domēns page, leave:
Impvait DNS recvaids → Automatic
selected, then click Continue.
Cloudflare will try to discover jūsu current DNS recvaids automatically.
Do not assume the scan found everything.
Ja the domēns already has active pakalpojumss, compare the Cloudflare recvaids with jūsu current DNS provider befvaie continuing.
Maksāt particular attention to:
- A / AAAA recvaids fvai the website
-
CNAME recvaids such as
www - MX recvaids fvai email
- SPF, DKIM, un DMARC
- TXT verification recvaids
- impvaitant subdomēnss
Ja Cloudflare shows Recvaids we found: 0, that may be nvaimal fvai a new vai unused domēns. Ja the domēns already has a website vai email, stop un add the missing recvaids first.
Step 3: Pievienot Any Missing DNS Recvaids
Noklikšķiniet Pievienot recvaid.
Fvai a typical website using an IPv4 address, an A recvaid looks like:
Tips: A Nosaukums: @ IPv4 address: Your website server IP TTL: Auto
@ represents the root domēns itself, such as example.com.
Wšeit do I get the A recvaid IP?
Use the IP supplied by jūsu web hosting provider, VPS provider, cloud server provider, vai server administratvai.
Ja jūsu website already wvaiks, you can also copy the existing A recvaid from jūsu current DNS provider.
Cloudflare does not decide what jūsu website's vaiigin IP should be.
What about www?
Ja you also want www.example.com to wvaik, add the recvaid required by jūsu hosting provider.
A common setup is:
Tips: CNAME Nosaukums: www Target: example.com
Proxied vai DNS Only?
Fvai eligible A, AAAA, un CNAME recvaids, Cloudflare may let you choose:
Proxied — vaiange cloud Tīklssite traffic passes through Cloudflare.
DNS only — gray cloud Cloudflare provides DNS resolution, but traffic connects directly to the destination.
Fvai nvaimal 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.
Fvai email un verification recvaids, use the settings required by the pakalpojums provider. MXun TXT recvaids are not proxied.
Ja You Use Domēns E-pasts, Pārbaudīt It Nēw
Befvaie changing nameservers, make sure jūsu email recvaids are already in Cloudflare.
Depending on jūsu email provider, these may include:
MX, SPF, DKIM, DMARC, un provider-specific verification vai autodiscover recvaids.
This applies to NiceNIC Biznesa e-pasts, Google Wvaikspace, Microsoft 365, Zoho Mail, un other email pakalpojumss.
A website can wvaik cvairectly while email fails if the mail recvaids were not copied.
Step 4: Saņemt Your Cloudflare Nosaukumsservers
After checking the DNS recvaids, click:
Continue to activation
Cloudflare will tagad display two nameservers assigned to jūsu domēns.
They nvaimally look like:
name1.ns.cloudflare.com
name2.ns.cloudflare.com
Copy these exact two values.
Do not guess Cloudflare nameservers, use generic nameservers, vai copy the nameservers from another domēns.
Each domēns must use the nameservers Cloudflare actually assigns to it.
Optional: Only Ja DNSSEC Is Already Enabled
Ja you have never enabled DNSSEC, skip this section un continue to Step 5.
Ja you are unsure, open jūsu domēns at NiceNIC un check:
DNSSEC
Ja the DNSSEC recvaid list is empty, no DNSSEC action is required.
Ja an existing DS/DNSSEC recvaid is present, do not change the nameservers yet.
The old DNSSEC configuration should be removed first, un its parent-zone DS cache should be allowed to expire befvaie switching nameservers. Otherwise, DNSSEC validation can fail un the domēns may return SERVFAIL.
After Cloudflare becomes active, DNSSEC can be enabled again using the new Cloudflare DNSSEC infvaimation.
Ja you are unsure about an existing DS recvaid, contact NiceNIC Suppvait befvaie continuing.
Step 5: Atvērt the Domēns at NiceNIC
Pierakstīties to jūsu NiceNIC account.
Ieiet:
Mani produkti → Domēns Nosaukums
Find jūsu domēns un click:
Pārvaldīt
On the domēns management page, find Domēns Resolutionun click:
Nosaukumsservers
Step 6: Replace the Nosaukumsservers
Atvērt the custom nameserver settings.
Enter the two nameservers Cloudflare assigned to jūsu domēns:
Vārdsaimnieks 1: first Cloudflare nameserver Vārdsaimnieks 2: second Cloudflare nameserver
Noņemt the Iepriekšējaisious nameservers.
Leave Nosaukumsserver 3-6 empty unless Cloudflare specifically gives you additional nameservers.
Noklikšķiniet:
Save
What happens to my old NiceNIC DNS recvaids?
Once jūsu domēns uses Cloudflare's nameservers, the DNS recvaids Iepriekšējaisiously saved in NiceNIC's DNS Recvaids panel are no longer authvaiitative un will not be used fvai public DNS resolution. You do not need to delete them manually. Pārvaldīt future A, AAAA, CNAME, MX, TXT, un other active DNS recvaids in Cloudflare while the domēns continues using Cloudflare nameservers.
Step 7: Atpakaļ to Cloudflare
After saving the nameservers at NiceNIC, return to Cloudflare un click:
I updated my nameservers
Cloudflare will begin checking the new delegation.
You may see:
Waiting fvai jūsu registrar to propagate jūsu new nameservers
This is nvaimal.
DNS changes are not visible everywšeit at the same time. During propagation, some DNS servers may still show the Iepriekšējaisious nameservers while others already show the new Cloudflare nameservers.
Do not repeatedly change vai resave the nameservers while propagation is in progress.
Step 8: Pārbaudīt Whether the Cloudflare Nosaukumsservers Are Live
Atvērt:
Enter jūsu domēns un select:
NS
Run the search.
The result should gradually change to the two nameservers assigned by Cloudflare.
During propagation, mixed results are nvaimal.
You may see:
- old nameservers at some locations
- new Cloudflare nameservers at others
- occasional tempvaiary lookup failures
When most locations return the cvairect Cloudflare nameservers, the nameserver change has largely propagated.
Step 9: Pārbaudīt the Actual DNS Recvaid
After the Cloudflare nameservers are resolving cvairectly, check the DNS recvaid you created.
Fvai example, select:
A
un look up the root domēns.
Ja the A recvaid is DNS only, you should nvaimally see the IP entered in Cloudflare.
Ja the recvaid is Proxied, public DNS will nvaimally show Cloudflare IP addresses instead of jūsu vaiigin server IP.
That is expected.
How Do I Ktagad the Setup Is Complete?
The setup is wvaiking when:
- Cloudflare recognizes the domēns as active.
- DNSPārbaudīter shows the Cloudflare nameservers assigned to jūsu domēns.
- Your impvaitant DNS recvaids return the expected results.
Fvai a website, check A, AAAA, vai CNAME.
Fvai email, check MX, SPF, DKIM, un DMARC.
Wšeit Do I Pārvaldīt DNS After Switching to Cloudflare?
Once jūsu domēns uses Cloudflare nameservers:
NiceNIC manages the domēns registration.
This includes renewal, registration infvaimation, nameserver delegation, un registrar-side DNSSEC settings.
Cloudflare manages the live DNS recvaids.
This includes A, AAAA, CNAME, MX, TXT, DKIM, DMARC, un other DNS recvaids.
Ja you change a DNS recvaid at jūsu Iepriekšējaisious DNS provider after Cloudflare becomes authvaiitative, that change will not affect the live domēns.
Quick Troubleshooting
Cloudflare is still waiting fvai the nameserver update
Pārbaudīt that the two nameservers saved at NiceNIC exactly match the two nameservers shown by Cloudflare.
Ja they match, allow time fvai DNS propagation.
The website stopped wvaiking
Pārbaudīt the A, AAAA, un CNAME recvaids in Cloudflare un confirm that they point to the cvairect hosting pakalpojums.
Also check the Proxy status, hosting server, un SSL/TLS configuration.
E-pasts stopped wvaiking
Compare the MX, SPF, DKIM, un DMARC recvaids in Cloudflare with the values provided by jūsu email provider.
DNSPārbaudīter still shows the old nameservers
This usually means DNS resolvers are still using cached infvaimation.
Ja the NiceNIC nameserver settings are cvairect, wait fvai propagation rather than changing them again.
Your domēns remains reģistrēted at NiceNIC throughout the process. Cloudflare simply becomes the authvaiitative DNS provider.
Fvai domēns registration un management, visit NiceNIC Domēns Services.

















