From: Ismaƫl Bouya Date: Tue, 11 Feb 2020 23:31:12 +0000 (+0100) Subject: Use vpn-gw domain X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=062aff6713640b40449d19fbc1c423e29fdc705f;p=perso%2FImmae%2FConfig%2Ftinc%2Fhosts.git Use vpn-gw domain --- diff --git a/ImmaeEu-up b/ImmaeEu-up index 3a2e073..56710a1 100755 --- a/ImmaeEu-up +++ b/ImmaeEu-up @@ -11,7 +11,7 @@ SUBDOMAIN=`cat /etc/tinc/$NETNAME/tinc_domaine` while [ -z "$MYIPS" -o -z "$GWIP" ]; do MYIPS=`getent hosts ${SUBDOMAIN}.immae.eu | cut -d' ' -f1 | tr "\\n" ' '` - GWIP=`getent hosts vpn.immae.eu | head -n1 | cut -d' ' -f1` + GWIP=`getent hosts gw.vpn.immae.eu | head -n1 | cut -d' ' -f1` sleep 5 done rm -f /tmp/tinc_$NETNAME