Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

现在GODNS能接受通知后调用更新IP的接口吗? #179

Open
FisherMS opened this issue Aug 20, 2022 · 3 comments
Open

现在GODNS能接受通知后调用更新IP的接口吗? #179

FisherMS opened this issue Aug 20, 2022 · 3 comments

Comments

@FisherMS
Copy link
Contributor

这样的话在路由器上再写个WAN口的IP变动后主动通知给GODNS的插件,这样就能保证GODNS在第一时间去更新IP。

@TimothyYe
Copy link
Owner

现在还没这种接口,不过可以考虑加一个

@FisherMS
Copy link
Contributor Author

我先学学Go,哈哈哈!

@itviewer
Copy link

大概思路在这里有提到
#132

多数路由器比如自用的小米路由器,都有自己的ddns功能,我们可以用Go随便起个http server,然后在路由器自己的ddns配置那里随便找个,填上我们自己的http服务器的地址,这样当重启路由器或者公网ip发生变化时,路由器ddns就会主动向我们自己起的http server发送请求,我们把路由器发送的http请求dump一下,看下格式,然后转换下再调用域名服务商如阿里云的api就可以

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants