<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:wfw="http://wellformedweb.org/CommentAPI/">
<channel>
<title>磊哥|个人博客 - DNS</title>
<link>https://vps.668618.xyz/index.php/tag/DNS/</link>
<atom:link href="https://vps.668618.xyz/index.php/feed/tag/DNS/" rel="self" type="application/rss+xml" />
<language>zh-CN</language>
<description></description>
<lastBuildDate>Fri, 04 Oct 2024 12:51:00 +0800</lastBuildDate>
<pubDate>Fri, 04 Oct 2024 12:51:00 +0800</pubDate>
<item>
<title>修改DNS脚本</title>
<link>https://vps.668618.xyz/index.php/archives/75/</link>
<guid>https://vps.668618.xyz/index.php/archives/75/</guid>
<pubDate>Fri, 04 Oct 2024 12:51:00 +0800</pubDate>
<dc:creator>admin</dc:creator>
<description><![CDATA[更换国内DNSecho -e &quot;options timeout:1 attempts:1 rotate\nnameserver 119.29.29.29\nnameserver 114...]]></description>
<content:encoded xml:lang="zh-CN"><![CDATA[
<p>更换国内DNS</p><pre><code>echo -e &quot;options timeout:1 attempts:1 rotate\nnameserver 119.29.29.29\nnameserver 114.114.114.114&quot;&gt;/etc/resolv.conf;</code></pre><p>更换国外DNS</p><pre><code>echo -e &quot;options timeout:1 attempts:1 rotate\nnameserver 1.1.1.1\nnameserver 1.0.0.1&quot; &gt;/etc/resolv.conf;</code></pre><p>推荐国内外并行的DNS配置</p><pre><code>echo -e &quot;options timeout:1 attempts:1 rotate\nnameserver 119.29.29.29\nnameserver 8.8.8.8&quot; &gt;/etc/resolv.conf;
echo -e &quot;options timeout:1 attempts:1 rotate\nnameserver 114.114.114.114\nnameserver 8.8.8.8&quot; &gt;/etc/resolv.conf;</code></pre><p>查看修改后的DNS配置</p><pre><code>cat /etc/resolv.conf</code></pre>
]]></content:encoded>
<slash:comments>0</slash:comments>
<comments>https://vps.668618.xyz/index.php/archives/75/#comments</comments>
<wfw:commentRss>https://vps.668618.xyz/index.php/feed/tag/DNS/</wfw:commentRss>
</item>
</channel>
</rss>