# Chặn , chuyển hướng 1 domain sang 1 IP cụ thể.

**Bước 1:** Thêm mới 1 luật port forward để chuyển hướng tất cả các request cổng 53 từ vùng mạng lan đến cổng 53 của vùng mạng wan về IP của interface wan rồi lưu và áp dụng cấu hình đó.&#x20;

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcUOY3HBrntLKyHwycEJq86o_wfN0QOVFhn316Cb28flhY7tWDfO_Z6qm0F39vF9pkkvcY21WlaCYgfXKfFi4qFbzugf8grQhgATY23eN2xBOZpI6-dT3f2iIvOqYq4EXQmtk5YbTXSLykZA5Oasw?key=YCqQNUWtmEPYeky4vj5AnhCL" alt=""><figcaption></figcaption></figure>

**Bước 2:** Di chuyển đến mục DHCP và DNS -> Hostnames chọn thêm mới để cấu hình 1 bản ghi DNS rồi lưu và áp dụng cấu hình đó.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdpvZYsv966pa5sdI02j6n5a8YBaszNW-9MBApHbY1TfPPtrQ9QLSIWf5Uhf_eANYKq913Nufl6ZVf1eQSn68F7lERyXMtk0h2h6s-AslPB-WcGH7AAzfYkpR7WOjHegVmiFoMDMknrMiqfSpksvH0?key=YCqQNUWtmEPYeky4vj5AnhCL" alt=""><figcaption></figcaption></figure>

**Bước 3**: Kết nối lại vào mạng rồi kiểm tra xem domain đó đã được chuyển hướng sang ip mà ta muốn chưa.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXca66Qzk-OXrJ1Dg-yvtJfIRyI7OMdGBjmhng4uy2mhZBsohzxOpvi2m5GumkTwhF2WVX6vXYRlTYHoA1Uj4EbIJRlJCBpn459FYj_L3M_VEgj43wkcNnZ3PNJZPYsynQdPYwonIL1Moeva6iSllWk?key=YCqQNUWtmEPYeky4vj5AnhCL" alt=""><figcaption></figcaption></figure>

<br>


---

# 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://help.safegate.network/firewall/chan-chuyen-huong-1-domain-sang-1-ip-cu-the..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.
