How to Connect a NiceNIC โดเมน to Cloudflare: Complete DNS Setup Guide
หาก ของคุณ โดเมน is จดทะเบียนed at NiceNIC, you can use Cloudflare fหรือ DNS without transferring ของคุณ โดเมน away from NiceNIC.
NiceNIC will continue to manage ของคุณ โดเมน registration, while Cloudflare manages the DNS recหรือds.
The setup is simple:
เพิ่ม ของคุณ โดเมน to Cloudflare → check the DNS recหรือds → get ของคุณ Cloudflare nameservers → update them at NiceNIC → wait fหรือ propagation → verify the DNS.
You can continue managing ของคุณ โดเมน through NiceNIC โดเมน Services throughout the process.
Befหรือe you change nameservers: หาก ของคุณ โดเมน already has a wหรือking website, email, หรือ other บริการs, make sure their DNS recหรือds are present in Cloudflare first. Missing recหรือds can cause those บริการs to stop wหรือking after the switch.
Step 1: เพิ่ม Your โดเมน to Cloudflare
ลงชื่อเข้าใช้ to Cloudflare.
On Account หน้าแรก, find เพิ่ม a โดเมน.
Enter only ของคุณ root โดเมน, fหรือ example:
example.com
Do not enter:
https://example.com
หรือ:
www.example.com
คลิก Connect.
Step 2: Impหรือt และ ตรวจสอบ Your Existing DNS Recหรือds
On the Connect ของคุณ โดเมน page, leave:
Impหรือt DNS recหรือds → Automatic
selected, then click Continue.
Cloudflare will try to discover ของคุณ current DNS recหรือds automatically.
Do not assume the scan found everything.
หาก the โดเมน already has active บริการs, compare the Cloudflare recหรือds with ของคุณ current DNS provider befหรือe continuing.
ชำระเงิน particular attention to:
- A / AAAA recหรือds fหรือ the website
-
CNAME recหรือds such as
www - MX recหรือds fหรือ email
- SPF, DKIM, และ DMARC
- TXT verification recหรือds
- impหรือtant subโดเมนs
หาก Cloudflare shows Recหรือds we found: 0, that may be nหรือmal fหรือ a new หรือ unused โดเมน. หาก the โดเมน already has a website หรือ email, stop และ add the missing recหรือds first.
Step 3: เพิ่ม Any Missing DNS Recหรือds
คลิก เพิ่ม recหรือd.
Fหรือ a typical website using an IPv4 address, an A recหรือd looks like:
ประเภท: A ชื่อ: @ IPv4 address: Your website server IP TTL: Auto
@ represents the root โดเมน itself, such as example.com.
Wที่นี่ do I get the A recหรือd IP?
Use the IP supplied by ของคุณ web hosting provider, VPS provider, cloud server provider, หรือ server administratหรือ.
หาก ของคุณ website already wหรือks, you can also copy the existing A recหรือd from ของคุณ current DNS provider.
Cloudflare does not decide what ของคุณ website's หรือigin IP should be.
What about www?
หาก you also want www.example.com to wหรือk, add the recหรือd required by ของคุณ hosting provider.
A common setup is:
ประเภท: CNAME ชื่อ: www Target: example.com
Proxied หรือ DNS Only?
Fหรือ eligible A, AAAA, และ CNAME recหรือds, Cloudflare may let you choose:
Proxied — หรือange cloud เว็บsite traffic passes through Cloudflare.
DNS only — gray cloud Cloudflare provides DNS resolution, but traffic connects directly to the destination.
Fหรือ nหรือmal 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.
Fหรือ email และ verification recหรือds, use the settings required by the บริการ provider. MXและ TXT recหรือds are not proxied.
หาก You Use โดเมน อีเมล, ตรวจสอบ It ไม่w
Befหรือe changing nameservers, make sure ของคุณ email recหรือds are already in Cloudflare.
Depending on ของคุณ email provider, these may include:
MX, SPF, DKIM, DMARC, และ provider-specific verification หรือ autodiscover recหรือds.
This applies to NiceNIC อีเมลธุรกิจ, Google Wหรือkspace, Microsoft 365, Zoho Mail, และ other email บริการs.
A website can wหรือk cหรือrectly while email fails if the mail recหรือds were not copied.
Step 4: รับ Your Cloudflare ชื่อservers
After checking the DNS recหรือds, click:
Continue to activation
Cloudflare will ตอนนี้ display two nameservers assigned to ของคุณ โดเมน.
They nหรือmally look like:
name1.ns.cloudflare.com
name2.ns.cloudflare.com
Copy these exact two values.
Do not guess Cloudflare nameservers, use generic nameservers, หรือ copy the nameservers from another โดเมน.
Each โดเมน must use the nameservers Cloudflare actually assigns to it.
Optional: Only หาก DNSSEC Is Already Enabled
หาก you have never enabled DNSSEC, skip this section และ continue to Step 5.
หาก you are unsure, open ของคุณ โดเมน at NiceNIC และ check:
DNSSEC
หาก the DNSSEC recหรือd list is empty, no DNSSEC action is required.
หาก an existing DS/DNSSEC recหรือd is present, do not change the nameservers yet.
The old DNSSEC configuration should be removed first, และ its parent-zone DS cache should be allowed to expire befหรือe switching nameservers. Otherwise, DNSSEC validation can fail และ the โดเมน may return SERVFAIL.
After Cloudflare becomes active, DNSSEC can be enabled again using the new Cloudflare DNSSEC infหรือmation.
หาก you are unsure about an existing DS recหรือd, contact NiceNIC Suppหรือt befหรือe continuing.
Step 5: เปิด the โดเมน at NiceNIC
เข้าสู่ระบบ to ของคุณ NiceNIC account.
ไปที่:
ผลิตภัณฑ์ของฉัน → โดเมน ชื่อ
Find ของคุณ โดเมน และ click:
จัดการ
On the โดเมน management page, find โดเมน Resolutionและ click:
ชื่อservers
Step 6: Replace the ชื่อservers
เปิด the custom nameserver settings.
Enter the two nameservers Cloudflare assigned to ของคุณ โดเมน:
Nameserver 1: first Cloudflare nameserver Nameserver 2: second Cloudflare nameserver
ลบ the ก่อนหน้าious nameservers.
Leave ชื่อserver 3-6 empty unless Cloudflare specifically gives you additional nameservers.
คลิก:
Save
What happens to my old NiceNIC DNS recหรือds?
Once ของคุณ โดเมน uses Cloudflare's nameservers, the DNS recหรือds ก่อนหน้าiously saved in NiceNIC's DNS Recหรือds panel are no longer authหรือitative และ will not be used fหรือ public DNS resolution. You do not need to delete them manually. จัดการ future A, AAAA, CNAME, MX, TXT, และ other active DNS recหรือds in Cloudflare while the โดเมน continues using Cloudflare nameservers.
Step 7: ย้อนกลับ to Cloudflare
After saving the nameservers at NiceNIC, return to Cloudflare และ click:
I updated my nameservers
Cloudflare will begin checking the new delegation.
You may see:
Waiting fหรือ ของคุณ registrar to propagate ของคุณ new nameservers
This is nหรือmal.
DNS changes are not visible everywที่นี่ at the same time. During propagation, some DNS servers may still show the ก่อนหน้าious nameservers while others already show the new Cloudflare nameservers.
Do not repeatedly change หรือ resave the nameservers while propagation is in progress.
Step 8: ตรวจสอบ Whether the Cloudflare ชื่อservers Are Live
เปิด:
Enter ของคุณ โดเมน และ select:
NS
Run the search.
The result should gradually change to the two nameservers assigned by Cloudflare.
During propagation, mixed results are nหรือmal.
You may see:
- old nameservers at some locations
- new Cloudflare nameservers at others
- occasional tempหรือary lookup failures
When most locations return the cหรือrect Cloudflare nameservers, the nameserver change has largely propagated.
Step 9: ตรวจสอบ the Actual DNS Recหรือd
After the Cloudflare nameservers are resolving cหรือrectly, check the DNS recหรือd you created.
Fหรือ example, select:
A
และ look up the root โดเมน.
หาก the A recหรือd is DNS only, you should nหรือmally see the IP entered in Cloudflare.
หาก the recหรือd is Proxied, public DNS will nหรือmally show Cloudflare IP addresses instead of ของคุณ หรือigin server IP.
That is expected.
How Do I Kตอนนี้ the Setup Is Complete?
The setup is wหรือking when:
- Cloudflare recognizes the โดเมน as active.
- DNSตรวจสอบer shows the Cloudflare nameservers assigned to ของคุณ โดเมน.
- Your impหรือtant DNS recหรือds return the expected results.
Fหรือ a website, check A, AAAA, หรือ CNAME.
Fหรือ email, check MX, SPF, DKIM, และ DMARC.
Wที่นี่ Do I จัดการ DNS After Switching to Cloudflare?
Once ของคุณ โดเมน uses Cloudflare nameservers:
NiceNIC manages the โดเมน registration.
This includes renewal, registration infหรือmation, nameserver delegation, และ registrar-side DNSSEC settings.
Cloudflare manages the live DNS recหรือds.
This includes A, AAAA, CNAME, MX, TXT, DKIM, DMARC, และ other DNS recหรือds.
หาก you change a DNS recหรือd at ของคุณ ก่อนหน้าious DNS provider after Cloudflare becomes authหรือitative, that change will not affect the live โดเมน.
Quick Troubleshooting
Cloudflare is still waiting fหรือ the nameserver update
ตรวจสอบ that the two nameservers saved at NiceNIC exactly match the two nameservers shown by Cloudflare.
หาก they match, allow time fหรือ DNS propagation.
The website stopped wหรือking
ตรวจสอบ the A, AAAA, และ CNAME recหรือds in Cloudflare และ confirm that they point to the cหรือrect hosting บริการ.
Also check the Proxy status, hosting server, และ SSL/TLS configuration.
อีเมล stopped wหรือking
Compare the MX, SPF, DKIM, และ DMARC recหรือds in Cloudflare with the values provided by ของคุณ email provider.
DNSตรวจสอบer still shows the old nameservers
This usually means DNS resolvers are still using cached infหรือmation.
หาก the NiceNIC nameserver settings are cหรือrect, wait fหรือ propagation rather than changing them again.
Your โดเมน remains จดทะเบียนed at NiceNIC throughout the process. Cloudflare simply becomes the authหรือitative DNS provider.
Fหรือ โดเมน registration และ management, visit NiceNIC โดเมน Services.

















