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

这个怎么样更新ipv6地址的解析,我看了一下日志,只有ipv4的解析 #51

Open
howelljiang opened this issue Jul 19, 2021 · 5 comments

Comments

@howelljiang
Copy link

No description provided.

@howelljiang
Copy link
Author

[07/19/2021 11:42:57]成功获取home.xxx.cn的所有记录,共2条。

[07/19/2021 11:42:57]A记录home.xxx.cn(default)不需要更新。

[07/19/2021 11:43:57]当前公网IPv4为 113.246.xx.xx(3322接口)。

[07/19/2021 11:43:57]成功获取home.xxx.cn的所有记录,共2条。

[07/19/2021 11:43:57]A记录home.xxx.cn(default)不需要更新。

@slitilanber
Copy link

cat /opt/etc/cron.5mins/aliddns_v6.sh

#! /bin/sh

export AccessKeyID=AAAAAAAA
export AccessKeySecret=BBBBBBBB

/opt/sbin/aliddns --ipv6 --id ${AccessKeyID} --secret ${AccessKeySecret} auto-update --domain www.XXX.com

@antnesswcm
Copy link

/opt/sbin/aliddns --id ${AccessKeyID} --secret ${AccessKeySecret} --ipv6 update --domain --ipaddr <ivp6地址>
这个是手动的啦

@origindot-WOod
Copy link

不能通过环境变量设置 IPv6 还是v4吗?

@antnesswcm
Copy link

不能通过环境变量设置 IPv6 还是v4吗?

可以在shell脚本里面读环境变量的值啊,然后设置就好了

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

4 participants