<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>YogaDNS on 泰山货</title>
    <link>https://www.taishanhuo.com/tags/yogadns/</link>
    <description>Recent content in YogaDNS on 泰山货</description>
    <generator>Hugo -- 0.155.3</generator>
    <language>zh-cn</language>
    <lastBuildDate>Wed, 18 Mar 2026 07:55:00 +0800</lastBuildDate>
    <atom:link href="https://www.taishanhuo.com/tags/yogadns/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Windows 全局 DNS 分流：YogaDNS &#43; DoH 实现内外网加速与防污染</title>
      <link>https://www.taishanhuo.com/posts/windows-yogadns-doh-split/</link>
      <pubDate>Wed, 18 Mar 2026 07:55:00 +0800</pubDate>
      <guid>https://www.taishanhuo.com/posts/windows-yogadns-doh-split/</guid>
      <description>&lt;p&gt;在内地环境使用 Google 或 Cloudflare DNS 会导致国内网站（如百度、淘宝）CDN 调度异常，加载极其缓慢。本教程通过 YogaDNS 实现：&lt;strong&gt;国内域名走国内 DNS 直连（加速），国外域名走海外加密 DNS（防污染）。&lt;/strong&gt;&lt;/p&gt;
&lt;h3 id=&#34;一-准备工作&#34;&gt;一、 准备工作&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;软件&lt;/strong&gt;：安装 
    &lt;a href=&#34;https://www.taishanhuo.com/go/?url=https://yogadns.com/&#34; target=&#34;_blank&#34; rel=&#34;nofollow noopener noreferrer&#34; title=&#34;&#34;&gt;YogaDNS&lt;/a&gt;。&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;列表下载&lt;/strong&gt;：前往 GitHub 
    &lt;a href=&#34;https://www.taishanhuo.com/go/?url=https://github.com/felixonmars/dnsmasq-china-list&#34; target=&#34;_blank&#34; rel=&#34;nofollow noopener noreferrer&#34; title=&#34;&#34;&gt;dnsmasq-china-list&lt;/a&gt; 仓库。&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;核心文件&lt;/strong&gt;：下载 &lt;code&gt;accelerated-domains.china.conf&lt;/code&gt;。&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;二-处理域名列表关键步骤&#34;&gt;二、 处理域名列表（关键步骤）&lt;/h3&gt;
&lt;p&gt;YogaDNS 无法直接识别 dnsmasq 格式，需使用 Notepad++ 或 VS Code 进行批量替换：&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;处理开头&lt;/strong&gt;：查找 &lt;code&gt;server=/&lt;/code&gt;，替换为 &lt;code&gt;*.&lt;/code&gt;（确保匹配子域名）。&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;处理末尾&lt;/strong&gt;：查找 &lt;code&gt;/114.114.114.114&lt;/code&gt;（或斜杠后的 IP），替换为&lt;strong&gt;空&lt;/strong&gt;。&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;检查格式&lt;/strong&gt;：最终每行应为 &lt;code&gt;*.domain.com&lt;/code&gt; 格式。&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;保存&lt;/strong&gt;：另存为 &lt;code&gt;China_Direct.txt&lt;/code&gt;。&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;三-配置-dns-servers&#34;&gt;三、 配置 DNS Servers&lt;/h3&gt;
&lt;p&gt;在 YogaDNS &lt;strong&gt;DNS Servers&lt;/strong&gt; 选项卡中添加两个服务器：&lt;/p&gt;
&lt;table&gt;
  &lt;thead&gt;
      &lt;tr&gt;
          &lt;th&gt;&lt;strong&gt;组别&lt;/strong&gt;&lt;/th&gt;
          &lt;th&gt;&lt;strong&gt;服务器名称&lt;/strong&gt;&lt;/th&gt;
          &lt;th&gt;&lt;strong&gt;地址&lt;/strong&gt;&lt;/th&gt;
          &lt;th&gt;&lt;strong&gt;协议&lt;/strong&gt;&lt;/th&gt;
          &lt;th&gt;&lt;strong&gt;作用&lt;/strong&gt;&lt;/th&gt;
      &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
      &lt;tr&gt;
          &lt;td&gt;&lt;strong&gt;国内组&lt;/strong&gt;&lt;/td&gt;
          &lt;td&gt;&lt;code&gt;doh_360&lt;/code&gt;&lt;/td&gt;
          &lt;td&gt;&lt;code&gt;https://doh.360.cn/dns-query&lt;/code&gt;&lt;/td&gt;
          &lt;td&gt;DNS over HTTPS&lt;/td&gt;
          &lt;td&gt;解析国内域名，确保 CDN 加速&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;&lt;strong&gt;海外组&lt;/strong&gt;&lt;/td&gt;
          &lt;td&gt;&lt;code&gt;Google_DoH&lt;/code&gt;&lt;/td&gt;
          &lt;td&gt;&lt;code&gt;https://dns.google/dns-query&lt;/code&gt;&lt;/td&gt;
          &lt;td&gt;DNS over HTTPS&lt;/td&gt;
          &lt;td&gt;解析海外域名，防止 DNS 污染&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id=&#34;四-配置分流-rules&#34;&gt;四、 配置分流 Rules&lt;/h3&gt;
&lt;p&gt;在 &lt;strong&gt;Rules&lt;/strong&gt; 选项卡中，按顺序创建以下规则：&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
