jamulussoftware / jamulus

Jamulus enables musicians to perform real-time jam sessions over the internet.
https://jamulus.io
Other
997 stars 222 forks source link

Get rid of fischvolk.de #919

Closed corrados closed 3 years ago

corrados commented 3 years ago

Many years ago, I registered the URL fischvolk.de (which stands for fisch(er)volk(er)) for private stuff. As a quick hack, I have used that URL for the Jamuls software as well. Since Jamulus has become more and more popular, this URL does not look very professional anymore. We now have our own Jamulus URL with jamulus.io. @gilgongo, would it be possible to use that for the Jamulus Central server addresses?

See, e.g., here: https://github.com/corrados/jamulus/blob/bf17b52659e8c5717c9bf4a66942087bc665907d/src/global.h#L99

gilgongo commented 3 years ago

I can certainly put them in the jamulus.io zone file. Shall I put them in as CNAMEs or A records? I think A records will resolve slightly faster, but with CNAMEs you'd be able to re-point them from fischvolk.de if you needed to.

pljones commented 3 years ago

There's some magic being done somewhere currently for the server lists I host.

corrados commented 3 years ago

This is what I have configured right now: grafik

gilgongo commented 3 years ago

There is perhaps also the question of who should control jamulus.io.

Right now, I have it registered with hover.com and host the zone file on my own name servers. These are maintained by myself and some others along with a bunch of other domains as part of a server "co-operative". This is for free, basically.

I'm happy to renew the registration for some years, but should @corrados have control of the domain itself (either the DNS or the registration as well)?

I don't know how other open source projects handle this. Is there a concept of shared or escrow domain ownership, for example?


Meanwhile, I can add those subdomains as A records for now.

pljones commented 3 years ago

Probably the better names from now on for the drealm.info ones are jamuluscentralX.drealm.info where X is the same as the 22X24 X port number. They all resolve to the same IP, of course.

corrados commented 3 years ago

There is perhaps also the question of who should control jamulus.io.

It would be great if you could continue to keep ownership of that URL and also that you manage the port forwardings and DNS entries.

corrados commented 3 years ago

Please post here when you have done the DNS entries for the Central Servers so that I can change it in the Jamulus source code.

gilgongo commented 3 years ago

Probably the better names from now on for the drealm.info ones are

Sorry, I'm not sure what ports you mean. Can you explain?

Looking at what you have here it seems that (for example):

jamulusrock.fischvolk.de is an alias for jamuluscentral1.drealm.info.
jamuluscentral1.drealm.info is an alias for peter.drealm.info.
peter.drealm.info has address 81.174.155.168

That's maybe a lot of DNS lookups, so I was going to put the following in jamulus.io, based on jamulus/src/global.h (although jamulusanygenre1 isn't listed there):

jamulus               IN A  66.113.206.102  # DEFAULT_SERVER_ADDRESS
jamulusanygenre1      IN A  66.113.206.102  # CENTSERV_ANY_GENRE1
jamulusanygenre2      IN A  66.113.204.131  # CENTSERV_ANY_GENRE2 
jamulusanygenre3      IN A  66.113.204.131  # CENTSERV_ANY_GENRE3
jamulusrock           IN A  66.113.206.102  # CENTSERV_GENRE_ROCK
jamulusjazz           IN A  66.113.206.102  # CENTSERV_GENRE_JAZZ
jamulusclassical      IN A  81.174.155.168  # CENTSERV_GENRE_CLASSICAL_FOLK
jamuluschoral         IN A  81.174.155.168  # CENTSERV_GENRE_CHORAL
corrados commented 3 years ago

I am not sure if you can use an IP number for pljones server. I did use an URL instead. Please note that the IP addresses of my servers are incorrect. You have to use a 62 at the beginning, not a 66. The jamulusrock and jamulusjazz are not hosted on my server but on pljones server.

corrados commented 3 years ago

So I would say it should be:

jamulus               IN A      62.113.206.102                # DEFAULT_SERVER_ADDRESS
jamulusanygenre1      IN A      62.113.206.102                # CENTSERV_ANY_GENRE1
jamulusanygenre2      IN A      62.113.204.131                # CENTSERV_ANY_GENRE2 
jamulusanygenre3      IN A      62.113.204.131                # CENTSERV_ANY_GENRE3
jamulusrock           IN CNAME  jamuluscentral4.drealm.info   # CENTSERV_GENRE_ROCK
jamulusjazz           IN CNAME  jamuluscentral3.drealm.info   # CENTSERV_GENRE_JAZZ
jamulusclassical      IN CNAME  jamuluscentral5.drealm.info   # CENTSERV_GENRE_CLASSICAL_FOLK
jamuluschoral         IN CNAME  jamuluscentral7.drealm.info   # CENTSERV_GENRE_CHORAL
corrados commented 3 years ago

Maybe even better, we should omit the jamulus at the beginning (since we have it already in jamulus.io):

anygenre1      IN A      62.113.206.102                # CENTSERV_ANY_GENRE1
anygenre2      IN A      62.113.204.131                # CENTSERV_ANY_GENRE2 
anygenre3      IN A      62.113.204.131                # CENTSERV_ANY_GENRE3
rock           IN CNAME  jamuluscentral4.drealm.info   # CENTSERV_GENRE_ROCK
jazz           IN CNAME  jamuluscentral3.drealm.info   # CENTSERV_GENRE_JAZZ
classical      IN CNAME  jamuluscentral5.drealm.info   # CENTSERV_GENRE_CLASSICAL_FOLK
choral         IN CNAME  jamuluscentral7.drealm.info   # CENTSERV_GENRE_CHORAL

Additionally, as seen in my new list, the entry "pure jamulus" is not needed, actually.

pljones commented 3 years ago

Maybe even better, we should omit the jamulus at the beginning (since we have it already in jamulus.io):

Yes, that's the what I was thinking, too.

I take it your DNS would CNAME all the entries to jamulus.io for resolution, rather than leaving them as they are, once the new entries are in place?

gilgongo commented 3 years ago

OK I've added those to the domain now. .

corrados commented 3 years ago

Thank you :-). I'll change the code now and try out if it all works as expected.

corrados commented 3 years ago

I just tested it. The entries with the fixed IP address work but pljones Central server do not. I assume the syntax of the lines with the CNAME is somehow incorrect. Maybe the syntx for CNAME entries is differently defined for your provider? Can you please check?

corrados commented 3 years ago

Oh, it seem that it is not your fault. This is what I get when I try out the addresses in the command line:

traceroute jamuluscentral4.drealm.info traceroute: unknown host

@pljones, can you please activate these URLs on your side?

gilgongo commented 3 years ago

Oh BTW can you confim that the following will be correct for the next server documentation release?

Genre Server address
Any Genre 1 anygenre1.jamulus.io:22124
Any Genre 2 anygenre2.jamulus.io:22224
Any Genre 3 anygenre3.jamulus.io:22624
Genre Rock rock.jamulus.io:22424
Genre Jazz jazz.jamulus.io:22324
Genre Classical/Folk classical.jamulus.io:22524
Genre Choral/Barbershop choral.jamulus.io:22724
corrados commented 3 years ago

Yes, this is correct.

softins commented 3 years ago

CNAME records need a dot at the end of the target name, so that it is an absolute name, not relative to the current domain.

So:

rock           IN CNAME  jamuluscentral4.drealm.info

would return jamuluscentral4.drealm.info.jamulus.io, and it needs to be:

rock           IN CNAME  jamuluscentral4.drealm.info.
ann0see commented 3 years ago

Closed via https://github.com/jamulussoftware/jamulus/commit/72ff3ae2c199d891c59863070b510107be9e487a