请不要把任何和邀请码有关的内容发到 NAS 节点。

邀请码相关的内容请使用 /go/in 节点。

如果没有发送到 /go/in,那么会被移动到 /go/pointless 同时账号会被降权。如果持续触发这样的移动,会导致账号被禁用。
latifrons
V2EX  ›  NAS

使用 ddclient 动态域名解析到 1.0.1.1 的 bug

  •  
  •   latifrons · Mar 23, 2025 · 1957 views
    This topic created in 431 days ago, the information mentioned may be changed or developed.
    突然发现自己 DDNS 域名挂掉了,原因是 ddclient 在依靠外部网站获取公网域名时,不仅解析 http body ,也解析 http header ,而 cloudflare 最近在 http header 里增加了一个 1.0.1.1 被 ddclient 误认为是外网 IP 了。

    如果你使用 cf 保护的服务,会被影响,例如
    https://icanhazip.com
    https://dynamicdns.park-your-domain.com/getip



    改成这个就好了
    https://ipinfo.io/ip

    或者参考以下两个帖子的做法
    https://github.com/ddclient/ddclient/issues/820
    https://github.com/ddclient/ddclient/issues/818
    2 replies    2025-03-29 09:46:11 +08:00
    kincaid
        2
    kincaid  
    PRO
       Mar 29, 2025
    @Shiroka 感谢大佬推荐
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1218 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 17:42 · PVG 01:42 · LAX 10:42 · JFK 13:42
    ♥ Do have faith in what you're doing.