diff --git a/simgear/scene/tsync/terrasync.cxx b/simgear/scene/tsync/terrasync.cxx index df3de110..7ca5a4a8 100644 --- a/simgear/scene/tsync/terrasync.cxx +++ b/simgear/scene/tsync/terrasync.cxx @@ -552,7 +552,10 @@ std::string SGTerraSync::WorkerThread::dnsSelectServerForService(const std::stri if( naptrRequest->entries.empty() ) { SG_LOG(SG_TERRASYNC, SG_ALERT, "Warning: no DNS entry found for '" << _dnsdn << "' '" << naptrRequest->qservice << "'" ); - return {"https://data.kongjian.xin/fgscenery","https://data.kongjian.xin/osm2city"}; + + if (service == "ws20" ) return "https://data.kongjian.xin/fgscenery"; + if (service == "o2c" ) return "https://data.kongjian.xin/osm2city"; + } // walk through responses, they are ordered by 1. order and 2. preference