跳到主要內容

發表文章

精選

改了 DNS 記錄,為什麼還有人看到舊網站?看懂 TTL 與快取 / Why Your DNS Change Is Not Live Yet: TTL and Caching

現象:改是改了,答案還是舊的 / The record changed, yet old answers persist 假設你把網站搬到新主機,在 DNS 管理介面把 A 記錄改成新 IP,自己測試也正常;幾分鐘後同事回報,看到的還是舊網站。先別急著把記錄改第二次:可能不是改失敗,而是查詢本身沒有走到你修改的那台伺服器。 Suppose you move a site to a new host and update its DNS A record in the management console; your own test works, yet minutes later a colleague reports the old site is still being served. Do not rush to edit the record a second time: the change may not have failed — the query itself may never have reached the server you edited. 在終端機輸入網址,多數情況不是直接去問「管這個網域的伺服器」,而是交給遞迴解析器代問,例如寬頻業者的解析器或公共 DNS。依 RFC 1034,DNS 定義了快取所取得資料的程序;解析器替很多使用者共用同一份答案,你問到的可能是幾分鐘前別人問過的副本,而不是最新狀態。[1] When you type a hostname, you are usually not addressing the servers that manage the zone directly. A recursive resolver asks on your behalf — the resolver of your broadband provider or a public DNS, for example. RFC 1034 defines procedures for caching retrieved data, so a resolver serves the same copy of an answer to many users: what you receive may be a copy fetche...

最新文章

Linux 刪了日誌,磁碟為什麼還是滿的?看懂開啟中的檔案 / Why Deleting a Linux Log May Not Free Disk Space

腳本裡 cd 成功,終端機卻沒移動?看懂 Bash 的工作目錄 / Why cd in a Script Does Not Move Your Terminal

Docker 容器為什麼不像一台完整電腦?從共用核心看懂隔離 / Why a Docker Container Is Not a Whole Computer

【實戰指南】NVIDIA GB10 (DGX Spark) 本地 AI Agent:vLLM + Qwen3.8-27B-NVFP4 + Hermes Agent 部署調優 (ZH/EN Guide)

從聊天機器人到工作夥伴:下一世代 AI Agent 的沙盒化與品質保證

別讓 AI Agent 把你的 Repo 搞崩:從『風險評估』導向的開發新範式 | Stop Letting AI Agents Wreck Your Repo: The Evaluation-First Development Paradigm

別再被 API Key 搞到肝指數爆表:用 ai-relay 打造你的 Serverless AI 流量調度中心 | Stop API Key Burnout: Building Your Serverless AI Traffic Hub with ai-relay

別讓你的 AI 寫出 2018 年的 Kotlin:Compose-Kotlin-Agent-Skills 的革命性對齊 / Stop Your AI from Writing 2018-era Kotlin: The Revolutionary Alignment of Compose-Kotlin-Agent-Skills