DNS: Difference between revisions

63 bytes added ,  10 November 2016
m
terrasync dns name is not settable
m (terrasync dns name is not settable)
Line 34: Line 34:


At system start, FlightGear sends a query for the DNS name <code>terrasync.flightgear.org</code>. The URL for scenery download is encoded in the regex field between the last two exclamation marks. This string MUST start with <code>!^.*$!</code> and must end with <code>!</code>, the regex itself is not interpreted by the TerraSync client, only the fixed string is taken.
At system start, FlightGear sends a query for the DNS name <code>terrasync.flightgear.org</code>. The URL for scenery download is encoded in the regex field between the last two exclamation marks. This string MUST start with <code>!^.*$!</code> and must end with <code>!</code>, the regex itself is not interpreted by the TerraSync client, only the fixed string is taken.
The hostname to query is configurable at system start by setting a property, so is the scenery version number. The default scenery version is "ws20".
The DNS to query is currently not configurable at system start by setting a property. The version number can be changed by setting property /sim/terrasync/scenery-version to a value other than the default "ws20".