> For the complete documentation index, see [llms.txt](https://docs-servers.zesty.group/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-servers.zesty.group/troubleshoot/how-to-change-dns-servers/how-to-change-dns-servers-macos-x-guide.md).

# Change DNS - macOS X

{% hint style="danger" %}
Do this on your **local/home** computer, not the server.
{% endhint %}

Click on the **Apple Logo** and open up **System Preferences**.

![](/files/-M2USV-v8g_1wg_lPoJA)

Find the **Network** icon and click on it.

![](/files/-M2USZ_y4fThz0KNT8U6)

After this, if you're connected via **Ethernet** or **Wi-Fi**, click on **Advanced** in the bottom right.&#x20;

![](/files/-M2USaW7d03fvB9JNiAe)

Click on the **DNS** tab. \
You will now be able to enter DNS servers, if there are any DNS server inside of the box, delete them. \
There will be something in there but it should be greyed out before you enter the new DNS servers.\
\
Click on the **Add (+)** button in the bottom left hand corner. \
\
Type in the following DNS servers for **US/UK**:\
Preferred DNS Server: **1.1.1.1**\
Alternate DNS Server: **1.0.0.1**\
Type in the following DNS servers for **Asia**:\
Preferred DNS Server: **8.8.8.8**\
Alternate DNS Server: **8.8.4.4**\
If these don't make it any faster, please go [**here**](https://public-dns.info/) (scroll down to find your country) and check the best DNS servers for your country.&#x20;

![](/files/-M2USd3yD1RlgdgIL2R2)

Click **OK** and you should be good to go!&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs-servers.zesty.group/troubleshoot/how-to-change-dns-servers/how-to-change-dns-servers-macos-x-guide.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
