<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Dns on Zayn's Blog</title><link>https://blog.treesir.pub/tags/dns/</link><description>Recent content in Dns on Zayn's Blog</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><managingEditor>yangzun@treesir.pub (Zayn)</managingEditor><webMaster>yangzun@treesir.pub (Zayn)</webMaster><copyright>2021-2026 Zayn</copyright><lastBuildDate>Sat, 25 Sep 2021 16:40:31 +0800</lastBuildDate><atom:link href="https://blog.treesir.pub/tags/dns/index.xml" rel="self" type="application/rss+xml"/><item><title>CoreDNS 完整部署与管理指南</title><link>https://blog.treesir.pub/posts/coredns-deployment/</link><pubDate>Sat, 25 Sep 2021 16:40:31 +0800</pubDate><author>yangzun@treesir.pub (Zayn)</author><guid>https://blog.treesir.pub/posts/coredns-deployment/</guid><description>&lt;p>CoreDNS 是现代化的 DNS 服务器，以其插件化架构、高性能和易配置性成为 Kubernetes 默认 DNS 解决方案。本指南将从基础部署到企业级应用，全面介绍 CoreDNS 的部署、配置、优化和管理。&lt;/p>
&lt;h2 class="relative group">CoreDNS 概述
&lt;div id="coredns-概述" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#coredns-%e6%a6%82%e8%bf%b0" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;h3 class="relative group">什么是 CoreDNS
&lt;div id="什么是-coredns" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#%e4%bb%80%e4%b9%88%e6%98%af-coredns" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h3>
&lt;p>&lt;a
href="https://github.com/coredns/coredns"
target="_blank"
>CoreDNS&lt;/a> 是用 Go 语言编写的现代化 DNS 服务器，具有以下核心特性：&lt;/p></description></item><item><title>Coredns 出现间断性无法正常解析域名问题</title><link>https://blog.treesir.pub/posts/intermittent-coredns-hosts/</link><pubDate>Thu, 07 Jan 2021 14:34:16 +0800</pubDate><author>yangzun@treesir.pub (Zayn)</author><guid>https://blog.treesir.pub/posts/intermittent-coredns-hosts/</guid><description>&lt;h2 class="relative group">问题描述:
&lt;div id="问题描述" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#%e9%97%ae%e9%a2%98%e6%8f%8f%e8%bf%b0" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;p>Kubernetes 节点中，有&lt;code>一台节点&lt;/code>使用 coredns 进行解析&lt;code>某个域名&lt;/code>时，出现间断性无法正常解析问题，而解析另外一个域名时不会出现解析问题。&lt;/p>
&lt;blockquote>
&lt;p>再次重复一下问题重点: &lt;code>且在集群中的某台节点中出现，且使用某个域名时出现&lt;/code>&lt;/p>&lt;/blockquote>
&lt;h2 class="relative group">环境说明：
&lt;div id="环境说明" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#%e7%8e%af%e5%a2%83%e8%af%b4%e6%98%8e" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;ul>
&lt;li>操作系统: CentOS Linux release 7.9.2009&lt;/li>
&lt;li>Kubernetes 集群: v1.17.4 （集群使用 rancher &lt;code>自定义添加集群&lt;/code> 一键部署）&lt;/li>
&lt;li>Dashboard: Rancher-v2.3.5&lt;/li>
&lt;li>Linux Kernel: 5.10.3-1.el7.elrepo.x86_64&lt;/li>
&lt;li>Coredns : Coredns:1.6.5 + Node-local-dns&lt;/li>
&lt;/ul>
&lt;h2 class="relative group">工具说明
&lt;div id="工具说明" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#%e5%b7%a5%e5%85%b7%e8%af%b4%e6%98%8e" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;ul>
&lt;li>
&lt;p>测试时使用的容器: praqma/network-multitool:latest&lt;/p></description></item></channel></rss>