# Clash安卓-基础使用

## 简介

Clash 是一个使用 Go 语言编写，基于规则的跨平台代理软件核心程序。 Clash for Android 是安卓系统上的一款 Clash 客户端。

## 添加订阅

1. 导入订阅

![](https://storage.crisp.chat/users/helpdesk/website/edc96a7734d4c800/image_jitobh.png)

![](https://storage.crisp.chat/users/helpdesk/website/edc96a7734d4c800/image_7wdfw5.png)

打开 Clash for Android ，依次进入 配置 > 新配置 > URL 。 在 URL 一栏中粘贴 Clash 配置订阅链接；自动更新 (分钟) 推荐填写 1440 ，即每 24 小时自动从链接中更新配置文件。\
提示：机场服务器信息可能会不定时更新，若出现大面积节点超时现象，可尝试刷新订阅。

完成后点击右上角的保存按钮，Clash for Android 将下载配置文件，请点击选中添加的配置文件。

2. 开启代理   \
   返回软件首页。点击开关，即可进行代理。会提示是否同意创建VPN，请点击允许。

![](https://storage.crisp.chat/users/helpdesk/website/edc96a7734d4c800/image_1qz7ki4.png)

点开 “代理”，可以对策略组进行选择。

Clash 支持通过策略组，对不同的网站使用不同的策略。合理使用分流可以提升您的使用体验。

## 设置DNS

|| 可选配置项目\
点击设置-覆写，下滑找到DNS栏

按照图示进行修改\
策略：强制启启用\
监听：0.0.0.0:53\
追加系统DNS：已启用\
IPV6：已禁用\
使用Hosts:不修改\
增强模式：Real-IP 至 域名映射\
Name Server：添加两个条目，<https://223.5.5.5/dns-query> 和 <https://dns.pub/dns-query（分开添加）>\
Fallback Name Server ：添加三个条目，<https://1.0.0.1/dns-query和https://public.dns.iij.jp/dns-query和https://101.6.6.6:8443/dns-query>\
GeoIP Fallback:已启用\
GeoIP Fallback 区域代码：CN


---

# 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://to.zodaccgo.com/android-xi-tong-jiao-cheng/clash-an-zhuo-ji-chu-shi-yong.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.
