added dig for rDNS

This commit is contained in:
mischa 2020-08-16 11:09:36 +02:00
parent 1372e642b8
commit 3373bfffa5
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ if vmctl show ${1%.txt} >/dev/null 2>&1; then
deploy.pl
rcctl restart dhcpd
vmctl reload
dig +short -x $(grep -A2 vm26 /etc/dhcpd.conf | awk '/fixed/ {print $2}' | tr -d ';')
fi
fi