V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
timothyye
V2EX  ›  分享创造

GoDNS V1.3 发布 - 基于 Go 实现的 DynDNS 客户端工具

  •  
  •   timothyye · 2017-10-10 10:27:04 +08:00 · 3041 次点击
    这是一个创建于 2383 天前的主题,其中的信息可能已经有所发展或是发生改变。

    14 年最初接触 Go 写的一个练手工具,集成了 DNSPod 的 API,用来在家中的下载机上运行,实现 DynDNS 的功能,定时检测公网 IP,并更新到 DNSPod,再在自家路由器上映射好端口,这样公网就可以随时访问到家里的下载机了:

    最新版本 V1.3

    整合了 HE.net 的 API,这样,nameserver 在 he.net 的同学也可以用 GoDNS 来实现 DynDNS 了

    目前支持的域名服务商:

    支持的运行方式

    • Upstart
    • Systemd
    • nohup 运行
    • Docker 方式运行

    项目地址

    https://github.com/TimothyYe/godns

    欢迎 pull request

    22 条回复    2017-10-11 21:19:14 +08:00
    Had
        1
    Had  
       2017-10-10 11:11:12 +08:00
    呃,看到 DynDNS 总是联想到 Dyn 的 DNS,因为我是在用这家来着
    laycher
        2
    laycher  
       2017-10-10 11:24:53 +08:00
    就是类似于花生壳吧,看起来很厉害的样子。
    timothyye
        3
    timothyye  
    OP
       2017-10-10 11:42:46 +08:00
    @laycher 是的,就是花生壳,不过是 DIY 的,哈哈
    timothyye
        4
    timothyye  
    OP
       2017-10-10 11:43:00 +08:00
    @Had 其实就是动态域名解析的意思
    zgzh
        5
    zgzh  
       2017-10-10 12:25:04 +08:00 via iPad
    谢谢分享,不知树莓派能否用?等会来编译试试
    timothyye
        6
    timothyye  
    OP
       2017-10-10 12:26:03 +08:00 via Android
    @zgzh 可以,go 支持编译为 arm 平台运行
    Yien
        7
    Yien  
       2017-10-10 12:33:12 +08:00
    start 了,谢谢。
    blueandhack
        8
    blueandhack  
       2017-10-10 13:00:59 +08:00
    大叔我觉得你可以考虑给项目改个名字
    DynDNS 是 Dynamic DNS
    而 GoDNS 不知所云啊
    不如叫 EveDNS Everywhere DNS
    timothyye
        9
    timothyye  
    OP
       2017-10-10 13:38:29 +08:00
    @blueandhack 因为是 Go 写的,所以叫 GoDNS
    hahasong
        10
    hahasong  
       2017-10-10 14:02:40 +08:00 via iPhone
    @timothyye 咋一看以为你用 go 写了一个 dnsserver
    hugee
        11
    hugee  
       2017-10-10 14:09:33 +08:00 via Android
    我直接 shell 脚本搞定,go 没学过。。
    timothyye
        12
    timothyye  
    OP
       2017-10-10 14:35:49 +08:00
    @hahasong -_-#
    xiaoz
        13
    xiaoz  
       2017-10-10 14:36:08 +08:00
    感谢分享,我用的 ClouDNS 的 DDNS 也很方便。
    timothyye
        14
    timothyye  
    OP
       2017-10-10 14:36:10 +08:00
    @hugee shell 脚本也是个解决办法
    BearD01001
        15
    BearD01001  
       2017-10-10 14:51:37 +08:00
    NoIP 的免费用户默默路过...
    timothyye
        16
    timothyye  
    OP
       2017-10-10 15:11:49 +08:00
    @BearD01001 看了一下 NoIP,不错,收藏了
    ihciah
        17
    ihciah  
       2017-10-10 15:18:26 +08:00
    每当此时默默贴一波轮子。。。。
    https://github.com/ihciah/simple-ddns
    timothyye
        18
    timothyye  
    OP
       2017-10-10 18:06:48 +08:00 via Android
    @ihciah 666
    Nin
        19
    Nin  
       2017-10-11 21:10:32 +08:00
    -.-#
    为什么不早点出呢,我已经直接用脚本解决了 he.net
    timothyye
        20
    timothyye  
    OP
       2017-10-11 21:11:59 +08:00 via Android
    @Nin 不错啊大兄弟,动手能力强
    Nin
        21
    Nin  
       2017-10-11 21:18:22 +08:00
    @timothyye #20 不过还是支持下,给个 star 吧
    timothyye
        22
    timothyye  
    OP
       2017-10-11 21:19:14 +08:00 via Android
    @Nin -_-#
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5566 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 02:54 · PVG 10:54 · LAX 19:54 · JFK 22:54
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.