mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-07-03 02:55:54 +02:00
*.training.test for labs in dev
Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
@@ -4,6 +4,8 @@ BACKEND_IP=$(getent hosts backend | awk '{ print $1 }')
|
||||
|
||||
# Update the dnsmasq configuration file
|
||||
echo "address=/.test/$BACKEND_IP" > /etc/dnsmasq.conf
|
||||
# labs can use *.training.test
|
||||
echo "address=/training.test/172.20.0.150" >> /etc/dnsmasq.conf
|
||||
echo "BACKEND_IP=$BACKEND_IP"
|
||||
echo "Loaded configuration (/etc/dnsmasq.conf):"
|
||||
cat /etc/dnsmasq.conf
|
||||
|
||||
Reference in New Issue
Block a user