Repository navigation
MagicDNS:補充 quad100 與推送式名稱的原理說明 - #205
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01YTJryyDgoR3yCZkbcL6rxP
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01YTJryyDgoR3yCZkbcL6rxP
shyuan
commented
Oct 28, 2026
shyuan
left a comment
Contributor
Author
There was a problem hiding this comment.
Code review
結論:沒有找到 bug。 這個 PR 的三段新增都是對官方部落格 Private DNS with MagicDNS(2021-09)的忠實轉述,我逐條對照過原文:
| 新增的說法 | 部落格原文依據 | 核對 |
|---|---|---|
quad100 位於 100.64.0.0/10 CGNAT 保留範圍、網際網路路由不到 |
"part of the private Carrier-Grade NAT range… not routable on the public internet" | ✓ |
系統 DNS 設成 quad100、100.100.100.100/32 路由導回 Tailscale、未加密查詢不離開裝置 |
"tell your OS that its DNS server is 100.100.100.100… installs a route to 100.100.100.100/32 back into Tailscale… so unencrypted queries don't leave your device" | ✓ |
| 名稱由控制伺服器推送、無外部服務可記錄查詢、無 TTL、改名即刻生效 | "push, not pull… no external service that can log your private name lookups… no TTL… immediately sent to every computer" | ✓ |
| 內網 nameserver 的一般 UDP 查詢走 tailnet、由 WireGuard 加密 | "forward plain old UDP DNS over Tailscale so they're encrypted with WireGuard" | ✓ |
其他檢查也都通過:
- 參考資料連結
https://tailscale.com/blog/2021-09-private-dns-with-magicdns可達。 - 沒動到任何標題,所以既有錨點
/features/magicdns/#100100100100裝置上的-dns-轉發器(getting-started/tailscale-ip-addresses.mdx在用)不受影響。 - 新增的 bullet 和前一條 DoH bullet 互補,正好對應部落格 "Key Features" 的兩種轉送情境,語意沒有衝突。
- PR 說明裡「Future work 已實作的部分」核對屬實:Exit Node DNS 在本文 103–107 行、自訂紀錄已連到 issue #1543。
兩點建議(低嚴重度、可選):
- 交叉連結既有的 CGNAT 文章:
getting-started/tailscale-ip-addresses.mdx已完整說明100.64.0.0/10、CGNAT 與 Quad100,而且它有連回本篇 MagicDNS 一節。本篇新段落講同一件事卻沒連過去,其他文章都有互連(例如what-is-tailscale.mdx),建議補一條連結維持站內慣例。 - 措辭細節:「Tailscale 把系統的 DNS 伺服器設成它」讀起來像是 universal,但在 macOS/Windows 上若啟用 split DNS,系統全域 DNS 並不會被設成 quad100,只有特定網域被導過去——站內
platforms/macos-install.mdx也明說 macOS split DNS「不會動到機器的全域 DNS」。段落後面的平台清單其實有把這點講清楚,所以只是措辭建議:可以加個限定(例如「一般情況下,Tailscale 把系統的 DNS 伺服器設成它……」)避免讀者交叉對照時短暫矛盾。
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01YTJryyDgoR3yCZkbcL6rxP
Contributor
Author
|
兩點建議都已在 fbc1399 處理:quad100 段落連到 Tailscale IP 為什麼是 100.x,並把「系統的 DNS 伺服器設成它」改為「系統的 DNS 伺服器(或下面所說的特定網域)指向它」,和後面的平台清單、macOS split DNS 的說法一致。 Generated by Claude Code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
摘要
依官方部落格 Private DNS with MagicDNS(2021-09)原文,補充
features/magicdns.mdx:100.100.100.100/32路由導回 Tailscale,未加密查詢不離開裝置;MagicDNS 名稱由控制伺服器推送,沒有外部服務能記錄查詢,也沒有 TTL 快取問題。原文「Future work」裡的 Exit Node DNS 已經實作(文中已有說明);自訂 DNS 紀錄仍未支援(文中已連到 issue #1543),不需要另外補。
檢查
lint:text、prettier、build、lint:docs皆通過。🤖 Generated with Claude Code
https://claude.ai/code/session_01YTJryyDgoR3yCZkbcL6rxP