# 修改系统DNS

{% embed url="<https://t.me/streamunblock1>" %}

{% hint style="success" %} <mark style="color:red;">**说明:请将以下内容中**</mark><mark style="color:red;">**&#x20;**</mark><mark style="color:red;">**`xx.x.x.x`**</mark><mark style="color:red;">**&#x20;**</mark><mark style="color:red;">**替换为面板返回的实际DNS**</mark>
{% endhint %}

### 一键脚本

{% code overflow="wrap" lineNumbers="true" %}

```shell
bash <(curl -L -s https://raw.githubusercontent.com/1-stream/1stream-public-utils/main/dns-change.sh) xx.x.x.x
```

{% endcode %}

### 还原DNS

<pre class="language-shell" data-overflow="wrap" data-line-numbers><code class="lang-shell"><strong>echo -e "nameserver 8.8.8.8\nnameserver 1.1.1.1" > /etc/resolv.conf
</strong></code></pre>


---

# 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.1stream.icu/new/dns.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.
