# DNS Setup

### 1. Log in to your DNS Manager

Go to your DNS provider and select the domain for protect, we will use CloudFlare for this guide as an example.

***

### 2. Remove or Edit Existing Records

Remove or Edit any records to pointing to your backend servers IP.

<mark style="color:$warning;">WARNING</mark>\
\ <mark style="color:$warning;">If your backend servers IP address was public, request a new IP address from your provider.</mark>

***

### 3. Create a DNS Record

#### CNAME Setup

Type: CNAME\
Name: Desired subdomain (e.g., `mc.example.net`)  if you want it on the root domain, use `@`.

Target: Copy the CNAME target from our panel.

TTL: 1-2 minutes (auto for Cloudflare)

Disable CloudFlare proxy. (orange cloud)

***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cubeguard.co/setup/quickstart.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
