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

Server Domain Name support? #20

Open
ajmwagar opened this issue Jul 14, 2020 · 4 comments
Open

Server Domain Name support? #20

ajmwagar opened this issue Jul 14, 2020 · 4 comments

Comments

@ajmwagar
Copy link

Is it possible to add support for hostnames (i.e. ac.wagar.cc)?

Right now I need to provide the IPv4 address of my server (which is not static). I have Dynamic DNS setup on a handful of domains. But I'm unable to find a way to replace the IPv4 address of the server in the online server browser.

My server IP is in IPv4: 174.21.145.18
I have a Dyn DNS entry at ac.wagar.cc which points to 174.21.145.18.

Is it possible to add support to use ac.wagar.cc in the Content Manager server browser? Rather than the raw IP?

Also - adding support for invite links to contain hostnames would be a nice addition. (i.e. https://acstuff.ru/s/q:race/online/join?httpPort=8083&ip=174.21.145.18) but adding support for domain names.

I'm not sure if this is possible - or within your control. However, it'd save me a huge headache of resending out invite links whenever my server's IP changes.

I'm using the Assetto Corsa Server Manager - which has a Content Manager Integration (allowing me to create links on the fly). If it's an issue on their end - I can close this and open an issue with them.

Please let me know if you have any questions.

Best,

Avery

@ajmwagar
Copy link
Author

Playing around with your invite link system: I'm able to replace the IPv4 address with a hostname:
image

But it says the ping doesn't work (note, it still loads the correct car and track info).

@ajmwagar
Copy link
Author

Trying to favorite that server listing causes an error in the Favorites page:
image

@ajmwagar
Copy link
Author

Trying to launch a session with one of these entries causes another error:
image

This seems to be an Assetto Corsa issue.

A possible solution would be to do a DNS lookup and give AC the IPv4 address that gets returns at launch time. That way you can have support for Dyn DNS and hostname - while giving Assetto the correct server address.

@ajmwagar
Copy link
Author

I'm not super familiar with C# but I do a fair amount of Network programming in Rust. I can take a shot at creating a PR to resolve this issue.

Anyways, thanks for creating this great tool. The WIP features are coming along nicely.

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

1 participant