DNS testing and caching¶
Overview¶
Sometimes, domain names resolution problems may lead to streams publishing/playback stopping on a server, for example, if backend server name used for REST hooks handling cannot be resolved. Since WCS build 5.2.1707 DNS may be tested periodically to detect a such problems. Also, addresses caching may be forced to decrease Java machine DNS resolver load.
DNS testing configuration¶
DNS testing may be enabled by the following parameters:
The settings are applied after WCS restart. The DNS name defined is resolved every 60 seconds. If the name is not set, it will not be tested. If the name cannot be resolved, Unknown host
warning will be displayed in server log.
DNS testing results displaying¶
DNS testing results are displayed on server statistics page
A minimum, average and maximum DNS reply times are displayed in milliseconds
Addresses cache configuration¶
Resolved addresses cache may be forced by the following parameter
The setting is applied after WCS restart. Cache interval is not limited in this case.