When Cloudflare is authoritative for your domain, edit public DNS in its zone. A matching record in cPanel or SiteWorx does not change public answers if another provider controls the authoritative nameservers.
IN THIS ARTICLE
What you need before you begin
Confirm the Cloudflare account, domain and record type. Save the old value, proxy status and TTL, and obtain the destination from the service you are connecting.
01 Edit a Cloudflare DNS record and verify authoritative answers
- Open the domain’s DNS > Records page and locate the exact name and type.
- Choose Edit for an existing record or Add record for a genuinely new one. Avoid creating a second record when the intended change is a replacement.
- Enter the required value and select the appropriate proxy status for supported A, AAAA or CNAME records. Mail and other non-web services normally need DNS only.
- Save, then query an authoritative nameserver and compare with a normal recursive lookup. Proxied web records normally return Cloudflare addresses publicly, which is expected.
- Test the actual website, mail or verification service and retain the previous value until the change has been confirmed.
02 Example: compare authoritative DNS with a cached lookup
After changing an address record, use the actual nameserver assigned to the active Cloudflare zone. In this example, ns1.example.net is a placeholder for that assigned server, and www.example.com is the record being checked. These commands inspect DNS and do not change it.
dig @ns1.example.net www.example.com A
dig www.example.com A
The first query targets the chosen authoritative server; the second uses your normal resolver configuration. Compare the status, answer and TTL, and check which server responded. A recently changed record can appear differently while a resolver still holds its earlier answer.
Expected result: the authoritative answer reflects the current record policy. For a proxied hostname, public Cloudflare addresses are expected, so also inspect the dashboard Content field for the intended origin. Repeat with AAAA only when investigating IPv6 records, then test the actual connected service.
Verify the authoritative DNS result
The authoritative response and connected service should reflect the intended change. Cached resolver answers may remain temporarily according to the previous TTL.
Troubleshoot unexpected results
If an unexpected answer persists, check nameserver delegation, duplicate A/AAAA records, CNAME conflicts and whether you edited the correct zone. Partner-managed Cloudflare setups may require changes through the hosting partner’s interface.
Why does a proxied record hide my hosting IP?
Visitors connect to Cloudflare’s proxy addresses, which then contact the configured origin. Inspect the record’s Content field to verify the origin destination rather than expecting it in a public A lookup.