From 5c5af7155ae989664919de1f10ac17121fa12a36 Mon Sep 17 00:00:00 2001 From: Ryan Chu Date: Mon, 2 Jul 2018 15:13:12 +0200 Subject: Enable mDNS service discovery in Docker-based test servers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To resolve the challenge of connecting Docker containers from the host without extra user-efforts, Avahi is used to publish the Docker-based test servers (Docker containers) on a local network. It is a free Zeroconf implementation, and it provides multicast DNS (mDNS) service discovery. By default, mDNS only resolves hostname ending with the ".local" domain. In this change, the domain name of test servers is changed to "test-net.qt.local". As stated in the standard, the DNS query for a local domain will be sent to the mDNS multicast address. It avoids the need for root access to modify system files. Task-number: QTQAINFRA-1686 Change-Id: I255fba0720ee6d0e84c9cb5ca9289d4466578922 Reviewed-by: Edward Welbourne Reviewed-by: Ryan Chu Reviewed-by: Jędrzej Nowacki --- tests/testserver/apache2/testdata/main.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/testserver/apache2') diff --git a/tests/testserver/apache2/testdata/main.conf b/tests/testserver/apache2/testdata/main.conf index 5cfa544623..f3b13bb571 100644 --- a/tests/testserver/apache2/testdata/main.conf +++ b/tests/testserver/apache2/testdata/main.conf @@ -1,4 +1,4 @@ -ServerName apache2.test-net.qt:80 +ServerName apache2.test-net.qt.local:80 NameVirtualHost *:443 -- cgit v1.2.3