<?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>Cloudflare on 白眉斋</title>
    <link>https://blog.eyebrowkang.com/tags/cloudflare/</link>
    <description>Recent content in Cloudflare on 白眉斋</description>
    <image>
      <title>白眉斋</title>
      <url>https://blog.eyebrowkang.com/welcome.png</url>
      <link>https://blog.eyebrowkang.com/welcome.png</link>
    </image>
    <generator>Hugo</generator>
    <language>zh-CN</language>
    <copyright>2023-2025 白眉斋</copyright>
    <lastBuildDate>Tue, 30 Jul 2024 13:09:37 +0000</lastBuildDate>
    <atom:link href="https://blog.eyebrowkang.com/tags/cloudflare/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Mosdns搭配Cloudflare优选IP的使用技巧</title>
      <link>https://blog.eyebrowkang.com/crap/mosdns-with-cloudflare-speedtest/</link>
      <pubDate>Tue, 30 Jul 2024 01:48:27 +0000</pubDate>
      <guid>https://blog.eyebrowkang.com/crap/mosdns-with-cloudflare-speedtest/</guid>
      <description>&lt;p&gt;前面写了一篇文章介绍&lt;a href=&#34;https://blog.eyebrowkang.com/crap/mosdns-installation-and-configuration&#34;&gt;Mosdns安装和配置使用&lt;/a&gt;，本文来优化一下文中的配置，然后介绍一下搭配Cloudflare优选IP的使用技巧。&lt;/p&gt;
&lt;h2 id=&#34;配置优化&#34;&gt;配置优化&lt;/h2&gt;
&lt;p&gt;下面这些优化并非必须的，并且都是mosdns的实验性功能，所以请务必了解清楚再应用到自己的配置中。&lt;/p&gt;
&lt;h3 id=&#34;缓存写入文件&#34;&gt;缓存写入文件&lt;/h3&gt;
&lt;p&gt;上一篇文中设置了乐观缓存，我设置的时间是3天，但是同时又配置了每天更新域名列表，所以其实缓存时间只有一天。为了解决这个问题，可以将缓存写入文件，mosdns会定时自动写入缓存，启动时则自动从文件中加载缓存。同时，为了方便随时清理缓存或写入文件，还可以开启API，具体的配置如下：&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
