githmb
V2EX  ›  DNS

有没有公共的动态 DNS 映射服务?

  •  
  •   githmb · May 8, 2023 · 3733 views
    This topic created in 1124 days ago, the information mentioned may be changed or developed.

    就是希望达到类似这种效果,把 IP 塞到域名里,解析到的就是这个 IP:

    $ host 110.10.211.130.bc.googleusercontent.com
    110.10.211.130.bc.googleusercontent.com has address 130.211.10.110
    
    10 replies    2023-05-09 00:47:52 +08:00
    RiverMud
        1
    RiverMud  
       May 8, 2023 via iPhone
    没太理解你的意思,详细讲讲。

    别忘了域名和 IP 都是有主的。
    Morxi
        2
    Morxi  
       May 8, 2023   ❤️ 4
    githmb
        3
    githmb  
    OP
       May 8, 2023
    @Morxi 大佬牛批!
    AndrewHenry
        4
    AndrewHenry  
       May 8, 2023
    劫持域名解析的 ip ?
    yinmin
        5
    yinmin  
       May 8, 2023   ❤️ 1
    写了一行 linux 代码,输入 ip 地址,直接输出对应的域名:

    python3 -c "import socket; print(socket.inet_aton(input('请输入 IPv4 地址:')).hex()+'.nip.io')"
    nuk
        6
    nuk  
       May 8, 2023
    可以自己建一个,以前写 teamsapp 的时候写的 coredns 模块: https://github.com/chk-jxcn/ipcnameecho
    v2yllhwa
        7
    v2yllhwa  
       May 8, 2023
    bytesfold
        8
    bytesfold  
       May 8, 2023 via iPhone
    话说这个有什么应用场景呢,都知道 ip 了还要啥域名
    greatbody
        9
    greatbody  
       May 9, 2023
    自己部署一个 docker 进行 DDNS 是最佳选择。其它的服务都可能不靠谱。不受控。
    githmb
        10
    githmb  
    OP
       May 9, 2023   ❤️ 1
    @bytesfold 一开始是因为某低代码平台不支持访问裸 IP(美其名曰网络安全), 然后最近我发现还有个用处, 微软的 mstsc 读取用户凭证只管域名, 不管端口, 用这种域名服务就可以存储不同端口的凭证了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2915 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 47ms · UTC 04:21 · PVG 12:21 · LAX 21:21 · JFK 00:21
    ♥ Do have faith in what you're doing.