diff --git a/tinc-up-template b/tinc-up-template index 0fb682e..03e8fc0 100755 --- a/tinc-up-template +++ b/tinc-up-template @@ -3,4 +3,4 @@ ifconfig $INTERFACE /32 netmask 255.255.255.255 route del -net /32 netmask 255.255.255.255 dev $INTERFACE route add -net 10.42.0.0 netmask 255.255.0.0 dev $INTERFACE -printf "nameserver 10.42.16.1\ndomain vpn" | resolvconf -a "$INTERFACE.inet" +printf "nameserver 10.42.16.1\nsearch vpn" | resolvconf -a "$INTERFACE.inet"