path: root/tests/testserver/apache2
diff options
authorRyan Chu <>2018-07-02 15:13:12 +0200
committerRyan Chu <>2018-07-10 15:25:14 +0000
commit5c5af7155ae989664919de1f10ac17121fa12a36 (patch)
tree556bd0c474365ee556a48ffb5db2fa269f2cd994 /tests/testserver/apache2
parent6d0878db1be77c212fecccd6506e1872134c68cd (diff)
Enable mDNS service discovery in Docker-based test servers
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 <>
Diffstat (limited to 'tests/testserver/apache2')
1 files changed, 1 insertions, 1 deletions
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