You can determine if a DNS record is being proxied through a Content Delivery Network (CDN) by inspecting the IP addresses returned by a DNS lookup. This process allows you to verify if your website traffic is being routed through a CDN provider or directly to your origin server.
Important: This procedure applies to Hostek hosting accounts where a CDN service is enabled. The specific behavior may vary depending on the CDN provider used.
Before you begin
You will need:
A Hostek hosting account
Access to a command-line interface (such as Terminal on macOS/Linux or Command Prompt/PowerShell on Windows) or a web-based DNS lookup tool.
Checking DNS records via command line
You can use the nslookup or dig command to see the IP addresses associated with your domain.
Open your terminal or command prompt.
Type the following command and press Enter:
nslookup example.com(Replaceexample.comwith your actual domain or subdomain.)Examine the "Address" field in the results.
Interpreting the results
The IP addresses returned by the lookup indicate whether the record is proxied.
Proxied: If the IP addresses returned belong to a known CDN provider (such as Cloudflare), the record is proxied.
Not Proxied: If the IP address returned is the specific IP address assigned to your Hostek server, the record is not proxied.
Confirm the result
If the IP address is a CDN-provided IP, the CDN is active and proxying traffic for that record.
If the IP address matches your server's IP, the record is pointing directly to your origin.
How to confirm via web tools
If you do not have access to a command-line interface, you can use a web-based tool to verify the status.
Navigate to a DNS lookup website (such as
mxtool_online.comordnschecker.org).Enter your domain name (e.g.,
example.com) into the search field.Perform the lookup.
Check the returned IP addresses. If the IP belongs to a CDN provider, the record is proxied.
Limitations
This method only confirms the current state of the DNS records; it does not confirm if the CDN's internal caching rules are active.
DNS propagation may take time. If you have just changed your DNS settings, the results may not update immediately.
Some DNS providers may use "CNAME" records to point to a CDN. In these cases, the
nslookupwill show the CNAME record first; you may need to perform a second lookup on the CNAME target to see the final IP.
