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

请教个问题,为什么planet建立时需要填入公网ip,需要在服务器运行时填入 MYADDR=X.X.X.X呢。 #150

Open
npperfect opened this issue Jun 11, 2024 · 2 comments

Comments

@npperfect
Copy link

我理解是,客户端主动向服务器发起请求。那只要在客户端 发起建立时,填入服务器的 IP或者域名 ,不就行了么。这样就可以让客户端与服务端建立起连接了?

考虑这个问题,主要是看到现在服务器运行时不支持在MYADDR中填入域名,对于服务器IP动态变化的场景,好像无解了?

请各位大佬指导~~

@xubiaolin
Copy link
Owner

填入MYADDR是用来生成planet文件的,planet文件里面需要有服务端的ip信息,不能用域名是因为zerotier客户端没有实现dns解析的功能

@zlaom
Copy link

zlaom commented Jun 20, 2024

那面对公网IP会变化的场景还能部署吗?

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