]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Use our own master server DNS records.
authorRudolf Polzer <divVerent@gmail.com>
Fri, 3 Dec 2021 20:33:51 +0000 (12:33 -0800)
committerRudolf Polzer <divVerent@gmail.com>
Fri, 3 Dec 2021 20:37:40 +0000 (12:37 -0800)
This allows us to update server addresses without a new engine binary release.

xonotic-common.cfg

index ff5787269e4be9a7093a312bf18ce849e550a1be..1d11e42b69a26b55c4912709b0231afdaaa8469f 100644 (file)
@@ -31,6 +31,12 @@ gameversion_max 65535 // git builds see all versions
 
 seta g_configversion 0 "Configuration file version (used to upgrade settings) 0: first run, or previous start was <2.4.1  Later, it's overridden by config.cfg, version ranges are defined in config_update.cfg"
 
+// Set the master servers to do DNS lookups we control.
+// This allows us to update the master server IPs without a release.
+set sv_masterextra1 "master1.xonotic.org:42863"
+set sv_masterextra2 "master2.xonotic.org:27950"
+set sv_masterextra3 "master3.xonotic.org:27950"
+
 exec xonotic-client.cfg
 exec xonotic-server.cfg